Hi all,
I am trying to make an effect where the player can not see more than a few meters in front of them. I know that there are various ways to stop actors being drawn when they are at a certain distance, but what I am looking for is a way to make visibility fade out slightly more gradually. I suspect I might have to do something with the atmospheric fog, but I am unsure about what settings I would change to make the fog impossible to see through and to make the fog very close to the player. Can anyone give me a pointer as to what kind of settings I would need to change to achieve this effect?
Thanks in advance!
You know, you could just search “ue4 volumetric fog” on Youtube…
Here you go: Volumetric Fog tutorial Unreal Engine 4.16 - YouTube
Increase it until you’re happy with it.
Just know that it may severely impact performance the closer you get to the player, because it has to render everything else through a veil of 90% transparency instead of opaque. Press F7 or whatever it is to see the shader complexity, to see if it bogs down the performance too much in regards to the hardware/platform you’re targetting.
Thanks, seems to be exactly what I am looking for. Thanks for the pointer. I will try this out when I get a chance.
Oh also, if I combined this with a culling volume or whatever to stop drawing actors too far away could that help performance?