support search box size in randomsamples too (although useless)
This commit is contained in:
parent
10dfced6cb
commit
d1e3042389
|
|
@ -2347,7 +2347,7 @@ void IlluminateRawLightmap( int rawLightmapNum )
|
||||||
|
|
||||||
/* subsample it */
|
/* subsample it */
|
||||||
if(lightRandomSamples)
|
if(lightRandomSamples)
|
||||||
RandomSubsampleRawLuxel( lm, &trace, origin, sx, sy, 0.5f, lightLuxel, deluxemap ? lightDeluxel : NULL );
|
RandomSubsampleRawLuxel( lm, &trace, origin, sx, sy, 0.5f * lightSamplesSearchBoxSize, lightLuxel, deluxemap ? lightDeluxel : NULL );
|
||||||
else
|
else
|
||||||
SubsampleRawLuxel_r( lm, &trace, origin, sx, sy, 0.25f * lightSamplesSearchBoxSize, lightLuxel, deluxemap ? lightDeluxel : NULL );
|
SubsampleRawLuxel_r( lm, &trace, origin, sx, sy, 0.25f * lightSamplesSearchBoxSize, lightLuxel, deluxemap ? lightDeluxel : NULL );
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user