Closed isRyven closed 6 years ago
That flag decreases light contribution from a light sources by increasing the extra distance:
/* clamp the distance to prevent super hot spots */ dist = sqrt( dist * dist + light->extraDist * light->extraDist ); if ( dist < 16.0f ) { dist = 16.0f; } add = light->photons / ( dist * dist ) * angle;
That flag decreases light contribution from a light sources by increasing the extra distance: