View Full Version : I need help with fog!

11-28-2002, 12:14 AM
I'm trying to make fog similar to livingdeadjedi's carbonfreeze2 map in the carbon freeze area. If anyone can help me with this I would greatly appreciate it.



Wes Marrakesh
11-28-2002, 12:26 AM
Colored fog?

I believe that would be a custom fog texture/shader.

11-28-2002, 12:37 PM
Fog itself is actually simple. Adding or shanging it's color would require a custom shader for it, but adding the fog effect itself is trather simple, as it's essentially the same process as water. Only thing different : the shader you apply!

11-29-2002, 01:40 AM
if you open up fogs.shader in ShaderEd, you can play around with the settings there, and i believe there is a simple color key to change the apparent color of the fog. I did that with my mars map (here's a shot: http://wso.williams.edu:8000/~jshoer/images/shot0010a.jpg). so make a copy of fogs.shader and rename it something like customfog.shader, then open the file and fool around with the colors. i suggest taking the fog you know you want to use, say fog1 or kejim_cold or yavin_swamp, etc, you know what i mean, copying the code for it out of fogs.shader (open it up in notepad to do this), and pasting it several times into a new file, naming the fogs customfog1, customfog2, etc. then open customfog.shader in ShaderEd, and change the color values for each of the fogs. make a couple rooms in radiant, and put each fog in a room, do a fast compile and see what works best.

11-29-2002, 05:47 AM
Ok, I'll try editing the shader. Thanks for all of your responses!!


11-29-2002, 07:19 AM
Yeah that looks cool wedge, but I want my fog not so transparent. Can you make it so you can't see through it in shaderEd?

11-29-2002, 11:35 AM
yeah, change the opacitydepth. That's the value that sets the distance you can see in the fog, measured in gridunits.