Vorontsov Posted May 6, 2015 Report Posted May 6, 2015 Hey, how do I make the 3D skybox properly smooth out into fog? I did everything right by the way (as far as I know), my 3d skybox fog values are the same as in the map but for some reason the only fog that is visible is in the map, while the 3D skybox contains no fog. Quote
leplubodeslapin Posted May 6, 2015 Report Posted May 6, 2015 Can you show us your sky_camera properties ? Quote
Vorontsov Posted May 6, 2015 Author Report Posted May 6, 2015 Can you show us your sky_camera properties ? Quote
leplubodeslapin Posted May 6, 2015 Report Posted May 6, 2015 ohw that's weird, it should work Maybe try "0.4" instead of ".4" I really don't see what's wrong here Don't you already have a fog in your 3D skybox ? I feel like there is one from your screenshot, maybe you should try to change the fog start and fog end in order to be sure it doesn't change anything ? Quote
Vorontsov Posted May 6, 2015 Author Report Posted May 6, 2015 ohw that's weird, it should work Maybe try "0.4" instead of ".4" I really don't see what's wrong here Don't you already have a fog in your 3D skybox ? I feel like there is one from your screenshot, maybe you should try to change the fog start and fog end in order to be sure it doesn't change anything ? Maybe I do but I want to fade it out nicely since it looks like shit that you can see the "end of the horizon" with some roads just suddenly ending. I'll try playing around but also do I have to have a fog in my map? Is it possible to only have one in the 3D Skybox? Quote
ElectroSheep Posted May 6, 2015 Report Posted May 6, 2015 Use the command "fogui" ingame so you can test what you want directly, both fog in map and in skybox. Then take a screenshot of your properties and copy them in the editor Vorontsov, leplubodeslapin and El Moroes 3 Quote
leplubodeslapin Posted May 6, 2015 Report Posted May 6, 2015 Maybe I do but I want to fade it out nicely since it looks like shit that you can see the "end of the horizon" with some roads just suddenly ending. I'll try playing around but also do I have to have a fog in my map? Is it possible to only have one in the 3D Skybox? You should configure your fog ingame, it's way easier and faster. Type sv_cheats 1 first and then "fogui", you will be able to configure both classic fog and 3D skybox fog. Unfortunately you won't have a density parameter but you can still change the color and the distances easily. Once you get a great configuration, copy/paste the values in hammer. A fog in the map is not needed, you can use one in the 3D skybox only it will work. The problem you'll probably have is that there won't be any objects on the horizon, therefore there will be an important contrast between objects in fog and your 2D skybox. The common solution to this is to use a gradient texture such as "skybox/urban_horizon", this way : The fog will change the color from black to your fog color and it will drasticaly result the contrast on the horizon. Vorontsov 1 Quote
Recommended Posts
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.