Hello,
I am using UE 5.2, and I want to just decrease the viewing distance of the player (so, the player should not be able to see after a particular point). I tried some of the techniques but couldn’t make them work. Could someone please assist me with this?
Thank you.
Can you be a bit more specific? Fog, or just nothing drawn, or…?
Thank you for your response. I just need to create a dark impression. Maybe dark fog will work. Moreover, like nothing drawn can as well work. Can you please assist me?
Is it first or third person?
Third person
Thank you!
Moreover, I got the perfect solution for what I wanted, i.e., distance fog. There are many tutorials like this one. https://www.youtube.com/watch?v=p-qarAVeqzs. I just created a post-process in the player blueprint and followed the tutorial.
Thanks again!
If anyone is having issues with glitchy visuals with this in UE5, I found this in the pinned comment from the video link that I have given, and this fixed my issues.
NOT MY COMMENT
This is likely caused because temporal antialiasing is happening before your fog
To make fog (and post processing) happen before antialiasing,
- In the post process material, find “blendable location”.
- Set blendable location to “Before Tonemapping”.
- done, the fog will be antialiased now.
Tone mapping and antialiasing are not the same thing… but that is the only way I have found to ensure fog occurs before antialiasing.
(you may also want to disable motion blur)
Video Link: UE4 Tutorial - Cheap/Easy Distance Fog - YouTube
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.