hi folks
i want a shader for a riverplant, they dissapere in the distance. so i use the foliage shader and rewrite a lill bit so its wave and see from all sides.
looks perfect, but the schilf doesnt dissapere in distance…
i use a nodraw brush and set the texture on one side. perhaps here is the problem?
make the brush to md3 and set in the map is the same, they dont dissapere…
dont want to use a foliage-floortexture, i want to plant directly on spots in the map.
here the shader
textures/thb_gruen/schilfgras01
{
qer_alphafunc greater 0.5
qer_editorimage textures/thb_gruen/schilfgras01.tga
cull disable
distanceCull 256 4096 0.49
sort seethrough
deformVertexes autosprite2
deformVertexes wave 15 sin 0 1 0 0.25
surfaceparm pointlight
surfaceparm trans
surfaceparm nomarks
nopicmip
{
map textures/thb_gruen/schilfgras01.tga
alphaFunc GE128
rgbGen exactVertex
alphaGen vertex
}
}
any ideas?




