Search the Community
Showing results for tags 'fog'.
I worked the half day on that problem and I think I give the information to everyone who also has this problem with fog. In the Editor fog looks a little bit like fog. Without implementig fog in C++ source, no fog is visible in C++. Loading a map after craeting a camera only a touch of a color is visible in the very far, and fog is not working as it should. I mean with map not a terrain, I loaded a map with only a plattform and some prefabs. I have not tested with terrain. So load a map before creating a camera. Nothing works correct if you not do that.
I downloaded the recently added workshop fog but it doesn't seem to be responding for me to changing the color or distance, which I believe are the lines below. I'm tying to set the fog to be bluer below but I see no change. Also the distance didn't seem to be having an effect. //Fog color. Use alpha for transparency uniform vec4 fogcolor = vec4(0.5,0.5,1.0,0.75); //Start and end fog range uniform vec2 fogrange = vec2(0,50); Ultimately the fog will be superceded by official packaged shader but I don't see that in my 4.4 beta and if based of this then it may need a check fo