Jump to content

Workshop fog not responding to color and distance changes


mdgunn
 Share

Recommended Posts

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 for similar issues.

 

Link to comment
Share on other sites

Yeah the camera methods work fine. I think the workshop fog shader turns on the fog but then the camera defaults are over-riding the shader. There is a setting on the camera to use post effects but not sure this applies for fog.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...