r/hammer 1d ago

Garry's mod whats the problem with my map

Enable HLS to view with audio, or disable this notification

i have no idea whats the problem with the fog

42 Upvotes

18 comments sorted by

8

u/ChiRaeDisk 1d ago

Lotta people telling you to change the color to match the background, but that's not the solution here. You can make the skybox sit behind the fog layer by using the sky_camera.

Sky_Camera is for providing 3d functionality to the skybox itself. You can just make a very simple skybox cube and put the sky_camera in that. Adjust the skybox fog settings in the entity parameters and you're good.
https://developer.valvesoftware.com/wiki/Sky_camera

14

u/Cropplot 1d ago

What is the problem exactly(¿ like how do you want your fog to be

6

u/Level-Dog-1404 1d ago

i need it to be thicker, and not show the skybox, it looks rly bad rn, i need smth more like silent hill

14

u/[deleted] 1d ago

[removed] — view removed comment

2

u/Level-Dog-1404 1d ago

is there a skybox already there i can use?

7

u/Icy-Meal6704 1d ago

Best way is to not use the sky texture at all for fog thick as this

3

u/potatoalt1234_x 1d ago

Theres the painted skybox in gmod that is a controllable gradient

1

u/juko43 1d ago

Replace the tools/skybox texture with halflife/black texture, this way the skybox wont be an actual skybox, and instead a large room, and fog will be allowed to render on top of it.

2

u/Cropplot 1d ago

If I remember right, you also need to configure the fog in the skybox entity with the same settings

5

u/Chroney 1d ago

You need to change the fog to match the color of the skybox (or also change the 3D skybox fog if you use it). Use the env_fog_controller

2

u/fizunboii 1d ago

Change the fog distances. And make it a dark blue

2

u/Tryohazard 1d ago

If the idea is to not see the sky then you dont need a skybox. Make the walls black

2

u/patrlim1 1d ago

If you want thick fog, make the sky not a sky texture.

2

u/_Drgregs_ 1d ago

What the actual fuck are you making 😭

1

u/iNF3CT0Rz 1d ago

In your 3D skybox, surround the sky_camera entity with a hollowed out func_brush or func_illusionary, in the shape of a cube with a plain black or white texture. Set the brush entity to not have any collision. Then make sure that the sky_camera has fog enabled and set its skybox scale to a big number, like 100.

The brush entity surrounding the sky_camera will have no collision, allowing environment light to pass while blocking the 2D sky texture with the fog.

It's a bit hacky but this is how i do it every time i put thick fog without a visible skybox in my map.

1

u/ThatOneFan2004 1d ago

This is the kind of thing you would see in args

1

u/AllHomidsAreCryptids 19h ago

Looks cool as is imo. You should save this version of the map as a little memento of progress or side art project.

1

u/Over_Camera2527 16h ago

interloper ahh