Problem: How do I make fog? I'm trying to create nonsolid dense fog, but instead the brush is compiling into a solid map hole.
Information:
I'm using GTKRadient 1.5
I'm using this fog texture: C:\Program Files\Tremulous\base\textures\shaders\fog.tga
I edited the shader for fog from Sokolov only so it'd match my directories.
I have the shader here: C:\Program Files\Tremulous\base\textures\shaders\fog.shader
I have a duplicate shader here: C:\Program Files\Tremulous\base\scripts\fog.shader
The shader reads:
textures/shaders/fog
{
qer_editorimage textures/shaders/fog.tga
qer_trans .5
surfaceparm trans
surfaceparm nonsolid
surfaceparm fog
surfaceparm nolightmap
qer_nocarve
fogparms ( 0.9 0.5 0.2 ) 500
}
My shaderlist is here: C:\Program Files\Tremulous\base\scripts\shaderlist.txt
My shaderlist reads:
arachnid2
atcs
karith
nexus6
niveus
transit
tremor
shaders
uncreation
common
common-trem
titan
displays
misc
plant_life
water
I created a brush and covered it entirely by the fog texture specified above.
I have the brush I'm using for fog in one side of the room so that all of the sides but one are covered entirely by a wall.
The brush hasn't been altered in any way along the lines of angles, so it should be in a rectangular prism with all angles at right angles to the grid.
I've been searching frantically for instructions on how to make fog, but none seem to exist. The GTK Radiant manual has a section on fog, but it's not on how to make fog, it's restriction on making fog, so it serves as a troubleshoot at best. On the forums, all threads seem to assume that the original poster already knows how to write shaders from scratch, has textures to use, and once again, knows how to make fog. Most responses revolve around what's in the manual, not a direct response to the question "how do I make fog?" I would greatly appreciate it if someone would just give a full-length explanation on how someone who knows nothing more than how to make brushes and cover them with textures would go about making fog.