VEX Dictionary / shadowmap
shadowmap
Samples a shadow or depth map as if rendered from its light, returning per-channel visibility with optional custom filtering.
group: textureshadowmapfile
Available in every context
Usage
float|vector shadowmap(string filename, vector Pndc, float spread, float bias, float quality, ...)
float|vector shadowmap(string filename, vector Pndc, float spread, float bias, float quality, ...)
vector shadowmap(string filename, vector Pndc1, vector Pndc2, vector Pndc3, vector Pndc4, float spread, float bias, float quality, ...)
Examples
No worked examples yet.
Signatures (from vcc -X)
float shadowmap(string, vector, float, float, float, ...)all contextsvector shadowmap(string, vector, float, float, float, ...)all contextsvector shadowmap(string, vector, vector, vector, vector, float, float, float, ...)all contexts