Context(s) | displace fog light shadow surface |
light getlight(int lid)
Given a integer light identifier (lid), you can get a reference to a light object representing the light (see details on the mantra specific type)
int[] lights = getlights(); int nlights = len(lights); for (int i = 0; i < nlights; i++) { light lp = getlight(i); lp->illuminate(...); }
See also | |
light |
|
pbr |
|