water too bright
Posted: Tue Feb 28, 2012 5:20 am
Hi, I'm a novice making maps, and I'm doing a water shader on quake 3 map, I dont know why but the water is to bright, here is the shader
please I need your help
Code: Select all
extures/water/water
{ qer_trans .1
qer_nocarve
qer_editorimage textures/water/water.tga
surfaceparm trans
surfaceparm nonsolid
surfaceparm water
surfaceParm noimpact
cull twosided
nomipmaps
nopicmip
tessSize 256
q3map_globaltexture
{
map textures/water/water.tga
blendFunc gl_dst_color GL_one
rgbGen const ( 1 1 1 )
tcMod turb 0.10 0.7 0.10 0.010
}
{
map textures/water/water.tga
tcGen environment
blendfunc filter
rgbGen const ( 1 1 1 )
}
{
map textures/water/water.tga
blendfunc gl_dst_color GL_one
rgbGen const ( 1 1 1 )
tcMod scroll 0 0.5
}
{
map $lightmap
rgbGen Identity
blendFunc GL_DST_COLOR GL_zero
}
}