water shader
Posted: Sun May 16, 2010 8:16 pm
im having some trouble with making my water shader transparent im basically using the clear_calm1 shader with some minor tweaks.. this is the shader im using
and heres what it looks like in game..
[lvlshot]http://img62.imageshack.us/img62/3281/shot0064e.jpg[/lvlshot]
Code: Select all
textures/ghost-pornstar2/dirty_water
{
qer_editorimage textures/liquids/pool3d_5e.tga
surfaceparm nonsolid
surfaceparm trans
surfaceparm water
cull disable
deformVertexes wave 64 sin 0.25 0.25 0 0.5
qer_trans 0.5
qer_nocarve
{
map textures/liquids/proto_gruel3.tga
tcMod scroll 0.035 0.035
}
{
map textures/liquids/pool3d_5e.tga
blendfunc gl_dst_color gl_src_color
rgbGen identity
tcMod scroll 0.025 0.01
}
}
[lvlshot]http://img62.imageshack.us/img62/3281/shot0064e.jpg[/lvlshot]