d3d_pointlightfalloff
d3d_spotlightfalloff
Vectors that control the strength of point or spot lights dependent
on its range and the distance from the light source.
Range:
light = 1 / (d3d_pointlightfalloff.x*d^2 + d3d_pointlightfalloff.y*d
+ d3d_pointlightfalloff.z)
light = 1 / (d3d_spotlightfalloff.x*d^2 + d3d_spotlightfalloff.y*d
+ d3d_spotlightfalloff.z)
while d = distance/range.
Default: 1.5, 0, 0.
Type:
VECTOR
Example:
vec_set(d3d_pointlightfalloff,vector(2.5,1,0));
See also:
SPOTLIGHT,
d3d_spotlightcone