Difference between revisions of "Talk:Env fog controller"

From Valve Developer Community
Jump to: navigation, search
(Linear fog distance?)
(Linear fog distance?)
 
Line 24: Line 24:
  
 
Bottom image: How it really looks like
 
Bottom image: How it really looks like
 
  
 
I tried changing the color to white (255 255 255), and it blended like expected. Why does black fog look so bad?
 
I tried changing the color to white (255 255 255), and it blended like expected. Why does black fog look so bad?
  
 
--[[User:Pandaboy|Pandaboy]] 12:08, 17 August 2013 (PDT)
 
--[[User:Pandaboy|Pandaboy]] 12:08, 17 August 2013 (PDT)

Latest revision as of 11:21, 17 August 2013

Problems with far Z

Is anybody else experiencing issues with Far Z and fog rendering lately? For some reason, fog isn't rendered on top of the Far Z clipping plane, causing a large gap to be shown instead. I've experimented with Far Z and fog distance settings, and nothing seems to fix it. 3D skybox fog still seems to work. Solokiller 09:57, 15 Jan 2008 (PST)

I've noticed that fog only renders if there would be something behind it to render, so if the skybox is behind it, it will not render. Solokiller 14:53, 6 November 2009 (UTC)

Do the Lerp inputs work?

I'm assuming you set the values via inputs first, and then trigger the "StartFogTransition" input? I can't get it working in Ep2. --Campaignjunkie (talk) 17:54, 3 Aug 2008 (PDT)

Multiple fog controllers

I seem to recall it being possible to use multiple fog controllers if they had names, was this added with L4D or is it just a common misconception? Solokiller 19:28, 22 March 2010 (UTC)

Darkness with fog?

Hi, you think I should use an env_fog_controller with black color for a darkness effect or the darkness itself already has a natural effect? You know, when after certain distance you can only see black...

edit: Forget it I tested it. Darkness alone is ok without fog :)

--Ruanito

Linear fog distance?

Black Fog (0 0 0) seems to get thicker in a very strange way. I've set fog start to 1, and fog end to 10000, but fog still doesn't seem to appear until about 8000 units away from the camera, and at 10000 there's a "sharp" edge.

[1] Top image: how it's expected to look like

Bottom image: How it really looks like

I tried changing the color to white (255 255 255), and it blended like expected. Why does black fog look so bad?

--Pandaboy 12:08, 17 August 2013 (PDT)