VEX Dictionary / shadow_light
shadow_light
Runs the shadow shader of a specified light outside the usual illuminance loop, returning a multiplier to darken lighting.
group: shadinglightpbrraytracing
Available in displace, fog, surface
Usage
vector shadow_light(int lightid, vector pos, vector dir, float time, ...)
Examples
No worked examples yet.
Signatures (from vcc -X)
vector shadow_light(int, vector, vector, float, ...)displace, fog, surface