Skybox Fog

Dario D.

Spy
Joined
Nov 30, 2004
Messages
710
Reaction score
0
1: How do you adjust the skybox fog?

Im tryin'a get the sky fog to match the level fog, which at the moment it does not.

It's a really hazy day, and I want the Citadel to be faintly visible. Right now it's like this big, bright, vivid thing in the sky, where everything else is hard to see.

I searched "skybox fog" and found nothing.
---

2: How do you make the Citadel look like it's going into the clouds? I copied the entire skybox over from a Valve map, and the top of the citadel ends abruptly for some reason.
 
Skybox fog is changed via the sky_camera entitie. Fog start, end, blend and colour options are all found there.
 
Fog won't be drawn over sky in any case, only over objects.
 
Just out of curiousity, is it possible to make fog drawn over everything, indlucing the sky?
 
You can edit the sky textures to allow fog to be drawn over them, but because of the way sky is rendered, it looks incredibly retarded. It's better to use a sky that has fog drawn on it.
 
I can't get the skybox fog working.

I tried and tried... set it and re-set it, and it isn't doing anything.

Am I missing some flag or something?
 
No you probably didn't set the start and end distance correctly, remember its a skybox so everything is scaled up big time, so the start distance needs to be something like 30,000 maybe more and the end distance maybe 40,000, fiddle about till you get the amount of fog you want and it looks how you want it to ;)
 
MrMan said:
No you probably didn't set the start and end distance correctly, remember its a skybox so everything is scaled up big time, so the start distance needs to be something like 30,000 maybe more and the end distance maybe 40,000, fiddle about till you get the amount of fog you want and it looks how you want it to ;)


Wtf? It doesn't scale entity values. From what I understand it should be the same (As it was in my map).
 
I had my end distance around 7,000

Now it's at 3,000. Same thing... not working. Start distance is like 300.
 
Dead-Inside said:
Wtf? It doesn't scale entity values. From what I understand it should be the same (As it was in my map).

Distance is scaled, though. A building that's 100 units to the east of the sky_camera will, according to the fog, be 1600 units east of (0, 0, 0) in the real map.

Dario, is there anything actually in your 3D skybox?
 
why not use the 0 and -1 values and not worry about it?
 
Raeven0 said:
Distance is scaled, though. A building that's 100 units to the east of the sky_camera will, according to the fog, be 1600 units east of (0, 0, 0) in the real map.

Dario, is there anything actually in your 3D skybox?


Hmm... Okay I'll come back when my head is screwed straight on. ... Argh, I hate having sucky logics.
 
By the way, there is already a fog controller in my map. Will that override the sky_camera's fog?
 
The lengths that people will goto to just for a simple fog effect amazes me. Really it does! "Oooh pretty fog look good."
 
Kyo said:
The lengths that people will goto to just for a simple fog effect amazes me. Really it does! "Oooh pretty fog look good."

Yeah,.. usually fog doesn't fit too well in maps (due to incompatibility with realism most of the time), but my map is well-suited. It's basically a very hazy day, so the sun flare is larger than normal, and the fog simply cuts off the distant horizon so that I don't have to fill it up with stuff... :hmph: (see sig to see what it looks like)

Edit: Whoa.. left-click your own post 2 or 3 times really fast and see what happens... do it again to finalize changes.
 
Dario D. said:
Edit: Whoa.. left-click your own post 2 or 3 times really fast and see what happens... do it again to finalize changes.

It surprised me the first few times; now it just annoys me. D:
 
Back
Top