1. Forums
  2. Discord
  3. About Mapcore
  4. Patreon Supporters
  • Login
  • Register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • More Options
  1. Mapcore
  2. Discussions
  3. Level Design

Fog

  • Vorontsov
  • May 6, 2015 at 4:03 PM
  • Vorontsov
    • May 6, 2015 at 4:03 PM
    • #1

    [Blocked Image: http://i.imgur.com/qCbGDCL.jpg]


    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.

  • leplubodeslapin
    • May 6, 2015 at 4:17 PM
    • #2

    Can you show us your sky_camera properties ?

  • Vorontsov
    • May 6, 2015 at 4:44 PM
    • #3
    Quote from leplubodeslapin

    Can you show us your sky_camera properties ?


    [Blocked Image: http://i.imgur.com/iq9hI8o.png]

  • leplubodeslapin
    • May 6, 2015 at 4:53 PM
    • #4

    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 ?

  • Vorontsov
    • May 6, 2015 at 4:57 PM
    • #5
    Quote from leplubodeslapin

    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?

  • ElectroSheep
    • May 6, 2015 at 5:14 PM
    • #6

    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

  • leplubodeslapin
    • May 6, 2015 at 5:19 PM
    • #7
    Quote from Vorontsov

    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 :


    [Blocked Image: http://i.imgur.com/pZaE96O.png]


    The fog will change the color from black to your fog color and it will drasticaly result the contrast on the horizon.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!

Register Yourself Login
Discord

The Mapcore Discord is our lively IRC channel of the 2000s reborn. Chat about level design, gaming, and more.

Latest Posts

  1. Custom Gamemodes Contest

    Angel
    July 20, 2026 at 11:46 AM
  2. FAQ

    Angel
    July 20, 2026 at 10:14 AM
  3. Tangerine

    Harry Poster
    July 18, 2026 at 11:10 AM
  4. Any of the old guard still around? D:

    Warby
    July 12, 2026 at 8:23 PM
  5. About our archived forums

    Thrik
    June 30, 2026 at 2:12 PM
  6. Mapcore Discord

    mason_fan123
    June 24, 2026 at 8:52 PM
  7. [CS2] Valley

    Serialmapper
    June 22, 2026 at 11:56 AM
  8. Free Music / SFX Resource - Over 2500 Tracks

    Eric Matyas
    June 18, 2026 at 12:32 PM
  9. Pango [WIP]

    Elowen
    June 11, 2026 at 10:13 AM
  10. [CS2] Dvina

    Jeremy Rivera
    June 11, 2026 at 10:03 AM

Users Viewing This Thread

  • 3 Guests
  1. Privacy Policy
  2. Contact
Powered by WoltLab Suite™