moultano
Oct 6 2004, 09:23 PM
When under certain water, there is a fade effect in the distance. This seems to be tied to the water texture that is used. Is there any way to get this effect on custom water textures? I've found the halflife water textures to be far too bright when combined with an env_gamma.
Lt_Gravity
Oct 9 2004, 10:45 AM
the effect is based on the color of the water-texture. on ns_agora for example the water cant be "seen" underwater: I guess its because the water texture is to "clean" to calculate. the standart ns water looks pretty dirty on distance. try different textures to find out the best looking. or just use some standart hl textures. the brighter + the more blue the texture is, the brighter will be the underwater view. or am I wrong?
Mouse
Oct 9 2004, 12:10 PM
iirc it goes off the last colour of the palette; but I'm not 100% on that. I recall there being an article on it somewhere.
[EDIT] Well I was close
| QUOTE |
http://www.telefragged.com/wally/Texture_Tutorial.htm Fog color is handled by certain color registers in the texture: a color register is a palette location. Color register 0 is the first color of the palette, color register 255 is the last. Fog color is handled by color register 3 in a water texture, and the fog density is handled by color register 4. The density value is drawn from the R value of that register (G and B are ignored), so pure red is the densest fog and black is the least dense fog. |