From [pov:6.6.6]:
Light attenuation is used to model the decrease in light intensity as the light travels through a transparent object. The keywordsfade_power
,fade_distance
andfade_color
are specified in the interior statement.
Thefade_distance
value determines the distance the light has to travel to reach half intensity while thefade_power
value determines how fast the light will fall off.fade_color
colorizes the attenuation. For realistic effects a fade power of 1 to 2 should be used. Default values forfade_power
andfade_distance
is 0.0 which turns this feature off. Default forfade_color
is 0,0,0, iffade_color
is 1,1,1 there is no attenuation. The actual colors give colored attenuation. 1,0,0 looks red, not cyan as in media.
The attenuation is calculated by a formula similar to that used for light source attenuation.
If you set fade_power
in the interior of an object at 1000 or above, a
realistic exponential attenuation function will be used:
Andreas Kriegl 2003-07-23