Help - Search - Members - Calendar
Full Version: Water And Color
Unknown Worlds Forums > Natural Selection > Natural Selection Creation > Mapping Forum > Mapping Help and Troubleshooting
moultano
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
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
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.
moultano
QUOTE (Mouse @ Oct 9 2004, 07:10 AM)
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.

holy cow, thanks man
Lt_Gravity
very helpful

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.