fix falloff tolerance for sRGB
This commit is contained in:
parent
c60d22dd26
commit
0c44cbd7ea
|
|
@ -2852,6 +2852,10 @@ int LightMain( int argc, char **argv )
|
|||
|
||||
}
|
||||
|
||||
/* fix up falloff tolerance for sRGB */
|
||||
if(lightmapsRGB)
|
||||
falloffTolerance = Image_LinearFloatFromsRGBFloat(falloffTolerance * (1.0 / 255.0)) * 255.0;
|
||||
|
||||
/* fix up samples count */
|
||||
if(lightRandomSamples)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user