Problem with volumetric fog from a stationary directional light.
Im trying to set up volumetric fog on a stationary directional light. It it behaves as I expect when Im setting it up but when I relightmap the scene something goes very wrong. If I then switch the light to moveable it works as expected. But swith the light to Stationary (or Static) and it breaks again.
I thought that volumetric fog worked with stationary directional lights?
I also have a skylight and a BP_Sky_sphere in the scene. I cant figure out what is going on. Here are my light and fog settings. Any help would be appreciated.
Here are my Fog and Light settings.
asked Feb 27 '19 at 10:59 PM in Rendering
Solved: I found out that the resolution of the volumetric light shaft is directly related to the resolution of the shadow map of that light. So in my scene setting the Shadow Resolution Scale to higher than 3 on the light resolves my issue. I tested this on a spotlights and directional lights and it works exactly the same on both.
On a directional light this could also be resolved by setting up an appropriate cascaded shadow map. i.e high rez shadows where you need high rez volumetric light shafts.
Hope this helps someone.
answered Mar 05 '19 at 06:54 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here