VEX Dictionary / haslight
haslight
Checks whether a specific light illuminates a material at a given point, filterable by PBR sampling options.
group: shadinglightpbr
Available in displace, fog, light, shadow, surface
Usage
int haslight(material mat; vector P; int light; ...)
Examples
No worked examples yet.
Signatures (from vcc -X)
int haslight(material, vector, int, ...)displace, fog, light, shadow, surface