- Home /
Why Fog apply only terrain and not skybox / camera view ?
I'm using Unity 5.6.4 (I don't want to upgrade for the moment to 2017 for legacy game and code reason) .
I'm trying to apply FOG effect, to my camera First person view.
I've tried 2 different way:
1- Lighting -> Apply Fog
2- Legacy Image Effect -> Global Fog Script
Either apply Fot only to terrain and not Skybox, or in other words, to my entire camera...
What I'm wrong ?
Thanks
EDIT I've upgraded to 2017.2 but I can't find EXLCUDE FOG TO SKYBOX (yes/no) options like here is indicated https://docs.unity3d.com/Manual/PostProcessing-Fog.html
Answer by Namey5 · Nov 25, 2017 at 11:44 PM
That's just how fog works. It renders based on distance to the camera; and as the skybox doesn't technically exist, it has a maximum distance by default, thus either the skybox will be intentionally ignored, or the whole thing will be filled with fog. The only fix to this is to write a custom fog effect.
Your answer
Follow this Question
Related Questions
how to creat fog effects 1 Answer
making everything fade at distance 2 Answers
Can someone help me with this script? 2 Answers
Glowing effects in Unity 0 Answers
How do I make a fog wall 1 Answer