Posted: Fri Feb 10, 2006 10:56 pm
easy use a texture that doesn't have waves ie. pond scum or open a water shader (most found in misc_outside.shader) and alter the values (forget exactly how many values you have to change, someone will remember.
textures/misc_outside/sf_deepbluesea
{
qer_editorimage textures/misc_outside/ocean2.tga
qer_keyword natural
qer_keyword liquid
qer_keyword ocean
qer_trans .4
surfaceParm trans
surfaceParm water
surfaceParm noimpact
cull none
tessSize 128
deformVertexes move 0 2 2 sin -3 1 0 .1
deformVertexes move 0 2 2 sin 0 5 0 .05
deformVertexes bulge -6 6 .3
// deformVertexes wave 1000 sin 100 80 1 .3
// deformVertexes bulge -6.2831853 16 .8
//bulge = numberoftimesrepeatedpertexture amplitude frequency
{
map textures/misc_outside/ocean2.tga
blendFunc blend
depthWrite
rgbGen identity
alphaGen dot .1 .6
tcMod scroll .01 0
tcMod scale 9 7
tcMod turb 0 .08 0 .08
}
{
map textures/misc_outside/ocean2.tga
blendFunc add
depthWrite
rgbGen identity
rgbGen const (.95 .94 1)
alphaGen dot .1 .6
tcMod scroll -.01 .002
tcMod turb 0 .005 0 .008
tcMod scale 10 9
}
{
map textures/misc_outside/froth.tga
blendFunc blend
alphaGen dot .1 .6
tcMod scroll .01 .01
tcMod turb 0 .01 0 .05
tcMod scale 9 7
}
{
map $lightmap
rgbGen Identity
blendFunc GL_DST_COLOR GL_ZERO
}
}
