- Home /
Best way to do distance fog with Orthographic camera
I am trying to achieve a fog effect, that would affect things based on their distance to the camera.Like this one I just randomly found on Google.
I found that universally, fogs work well with perspective camera, but doesn't with orthographic camera, in this particular project, I have to use orthographic camera, or at least have the orthographic camera effect.
The only plugin I found in the asset store that would even work in orthographic camera is "Volumetric Fog & Mist", but it doesn't really do distance fog - it works more based on the height of objects, like a depth mapping.
So What is the best way to achieve a distance fog + orthographic camera effect?
@nycucumber Can you just use the Volumetric Fog & $$anonymous$$ist package with a sufficiently high height? The package does claim to have parameters for "Starting and maximum distance + distance fall-off".
Also check out the cheaper variant from the same author - Dynamic Fog & $$anonymous$$ist, which may be all that you need.
thank you.
i checked their demo video for orthographic camera here: https://www.youtube.com/watch?v=2WbtOXflrcQ
sadly it doesn't do the distance fog FX, just depth-based fog.
I'm pretty sure the video doesn't show an orthographic camera. It just mentions that the asset supports it. Possibly try contacting the author at his forum.
Your answer
![](https://koobas.hobune.stream/wayback/20220612125812im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Fog/color tint shader for orthographic camera 0 Answers
Fog and Blur not affecting terrain and some trees! 1 Answer
PostProcess shader - Generate plane perpendicular to World XZ 0 Answers
Unity Fog Shader with Alpha Change 0 Answers
Dymanic Mesh Hiding 2 Answers