VEX Dictionary / getlights
getlights
Collects the ids of lights that illuminate the current material or point, filterable by label or contribution type.
group: shadinglightpbr
Available in displace, fog, light, shadow, surface
Usage
int[] getlights(...)
int[] getlights(vector P, ...)
int[] getlights(material mat; vector P; ...)
Examples
No worked examples yet.
Signatures (from vcc -X)
int[] getlights(...)displace, fog, surfaceint[] getlights(material, vector, ...)displace, fog, light, shadow, surfaceint[] getlights(vector, ...)displace, fog, surface