if theres one thing i suck at, its getting fog right. i dont know if im putting in high numbers or low numbers.
i looked at the tutorials but still cant figure it out. :S
could you cool dudes help me get it right?
[IMG]https://i.gyazo.com/2ca8a4e46b4b12e0e92475e3b5d02f70.png[/IMG]
[B]UPDATE[/B]
wait nevermind, totally figured it out :)
Maybe post how you solved it for those in the future? :)
There's always the possibility of opening the skybox textures in photoshop/gimp (you need a vtf plugin though) and colorpicking the correct rgb values from the one of the textures (skybox_ft, _bk, _rt, _lf) itself
To create a smoother transition from map to skybox, you can create a hollow cone in your 3d skybox and texture it with a smooth gradient texture from opaque to transparent, as seen in the official L4D maps- you can examine it by taking a look at their "styleguide_" maps in the left4dead2/sdk_content/mapsrc directory, or by [URL="https://my.mixtape.moe/lmvmxg.png"]looking at this picture[/URL]
I created a small pack of gradient textures from l4d for easier access, you can [URL="https://my.mixtape.moe/lyudnz.zip"]download it here[/URL] and play around with them a bit, should greatly improve the look of your skybox transition and overall visual quality :)
The gradient method is the easiest and produces the best results. Also, you need to fix your skybox texturing being sideways
Also, don't forget to use the "fogui" console command. It helps you get all fog settings in-game, then you just need to note the changes you've made and set your env_fog_controller.
Some useful fog console commands:
[quote]
fogui
fog_color_b
fog_color_g
fog_color_r
fog_maxdensity
fog_maxdensityskybox
[/quote]
You can also use the console command [I]fogui[/I] to tweak the fog colour and distance in-game. I find that it gives better results than colour picking from the skybox texture using external tools. Keep in mind that you may also need to set [I]fog_maxdensity[/I] to 1 (or whichever value you want to use). Otherwise, the game will use the density of your env_fog_controller, or 0 if there isn't one.
[editline]edit[/editline]
Nicolas beat me to it :smile:
Sorry, you need to Log In to post a reply to this thread.