Fog
Posted: Fri Jul 01, 2005 10:06 pm
Can i control the density of fog and can it be done gradually? This is not ment for distance which would use the standard but more vertical wise.
I think that can solve my problemopacity : This is the distance, in game units, until the fog becomes totally opaque, as measured from the point of view of the observer. By making the height of the fog brush shorter than the distance to opaque, the apparent density of the fog can be reduced (because it never reaches the depth at which full opacity occurs).
The fog volume can only have one surface visible (from outside the fog).
Fog must be made of one brush. It cannot be made of adjacent brushes.
Fog brushes must be axial. This means that only square or rectangular brushes may contain fog, and those must have their edges drawn along the axes of the map grid (all 90 degree angles).
Never was into making shaderso'dium wrote:Just make a new shader dude
Code: Select all
textures/survdm5/fog_100vis
{
qer_editorimage textures/sfx/fog_grey.tga
surfaceparm trans
surfaceparm nonsolid
surfaceparm fog
surfaceparm nolightmap
fogparms ( .9 .9 .9 ) 100
}