Hallo
We have a light available in our system, which is a ‘omni’ light, but it is limited to a ‘range’ (this is specified in world distances). Which light available in the SDK can solve this request?
Anton Heymann
Hallo
We have a light available in our system, which is a ‘omni’ light, but it is limited to a ‘range’ (this is specified in world distances). Which light available in the SDK can solve this request?
Anton Heymann
You can use the LightOmni plugin with the following parameters to limit its range:
decay_far_on = True
decay_far_start = X
decay_far_end = X
Note that if the start/end values are identical, the light will sharply stop at the given range (no gradient).
There’s also analogical parameters (decay_near_on, decay_near_start, decay_near_end) to control the “inner” decay.
Thank you very much. Does a LightSphere have the same limits and if, how are the specified?
Yes, LightSphere (and also LightRectangle, LightSpot, LightMesh, LightIES, Light Luminaire) has the same parameters available.