Correct values for far_Z_clip on env_fog_controller?
Post Reply
Quote
Re: Correct values for far_Z_clip on env_fog_controller?
Posted by Bender on Fri Sep 8th at 11:51pm 2006


I was hoping that someone could explain how the value for the far z clip plane works. Since my map is rather wide open, i've decided to try using fog to increase performance, and from what i've heard, an effective way to do this is to have this far z clip plane values set so it "clips the plane" at the edge of the fog. I havent found anywhere on valve or here exactly what the value represents, its just set at -1? OK -1 what? Pixels? Inches? Are there any other specific settings that are key to maximize use of the env_fog_controller for performance? Thanks for the expertise and the time!

~BENDER





Quote
Re: Correct values for far_Z_clip on env_fog_controller?
Posted by Campaignjunkie on Sat Sep 9th at 4:25am 2006


It represents the distance from the player at which it will stop rendering visible geometry. For example, a value of "3000" means the camera will stop rendering visible geometry 3000 units away from the player. "-1" means it renders ALL visible geometry. Ideally, you will want to use fog to hide the fact that portions of your level are being hidden. For instance, the edges of the water brushes in the HL2 coast levels.

There aren't any "correct" values. You set them according to your needs with your level.




Quote
Re: Correct values for far_Z_clip on env_fog_controller?
Posted by Dark_Kilauea on Sat Sep 9th at 6:19am 2006


Play with the clip, but make sure it is behind the max visable distance of the fog, or it will look bad.

Try 1024 for starters <img src=" SRC="images/smiles/icon_smile.gif">



Dark_Kilauea
DVS Administration
http://www.dvstudio-production.com/




Post Reply