VEX Dictionary / getphotonlight
getphotonlight
Identifies which light is generating photons in the current shading call, or -1 if none.
group: shadinglightpbr
Available in displace, fog, light, shadow, surface
Usage
int getphotonlight()
Examples
No worked examples yet.
Signatures (from vcc -X)
int getphotonlight(void)displace, fog, light, shadow, surface