I’m working on lighting in my scene, and I noticed how the top of the spotlights get kinda blocky. Is there a way to make the volumetric scattering sharper? My setup is a simple light and an ExponentialHeightFog
You can reduce the grid pixel size at an extremely high performance cost: r.VolumetricFog.GridPixelSize
(defaults to 8, lower number = more resolution, higher cost)
Volumetric fog uses frustum aligned voxels though which means the voxels don’t change size on screen with distance, so distant fog effects will still be blocky even if adjusting the gridpixelsize might push the range out a little bit farther.
Best solution is to just use a different method for generating your fog cones, most cases your best option is just a billboard.
1 Like