FIXME comment because falloffTolerance is checked in non-fast too for point lights, should we really do that? Maybe add a -slow then...
This commit is contained in:
parent
0c44cbd7ea
commit
c30d367a12
|
|
@ -3660,6 +3660,8 @@ void SetupEnvelopes( qboolean forGrid, qboolean fastFlag )
|
||||||
/* other calcs */
|
/* other calcs */
|
||||||
if( light->envelope <= 0.0f )
|
if( light->envelope <= 0.0f )
|
||||||
{
|
{
|
||||||
|
/* FIXME shouldn't we assume falloffTolerance == 0 when -fast is not used? */
|
||||||
|
|
||||||
/* solve distance for non-distance lights */
|
/* solve distance for non-distance lights */
|
||||||
if( !(light->flags & LIGHT_ATTEN_DISTANCE) )
|
if( !(light->flags & LIGHT_ATTEN_DISTANCE) )
|
||||||
light->envelope = MAX_WORLD_COORD * 8.0f;
|
light->envelope = MAX_WORLD_COORD * 8.0f;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user