SoEnvironmentattenuation Property |
Squared, linear, and constant light attenuation coefficients (in that order).
Namespace: OIV.Inventor.Nodes
Default is 0, 0, 1. So, by default, no attenuation is applied.
Attenuation only applies to Point and Spot lights. In the physical world attenuation is proportional to 1/d^2, where 'd' is the distance from the surface to the light source. However, this function causes the light to decrease very rapidly, so linear and constant coefficients can also be specified. The attenuation factor applied to the light is 1 / (c0*d^2 + c1*d + c2).