fix falloff tolerance for sRGB

This commit is contained in:
Rudolf Polzer 2012-02-09 10:41:09 +01:00
parent c60d22dd26
commit 0c44cbd7ea

View File

@ -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)
{