Is deformVertexes autosprite2 non functional in Enemy Territory?
I want to have a shader that lets the texture always face the player…
Here is what the shader manual says:
deformVertexes autosprite2
Is a slightly modified “sprite” that only rotates around the middle of its longest axis. This allows you to make a pillar of fire that you can walk around, or an energy beam stretched across the room.
This worked fine in RtCW, but seems to be broken in ET. Is there a workaround or am I doing something wrong in the shader?
Shader:
textures/paz/baum1fp
{
qer_alphaFunc gequal 0.5
qer_editorimage textures/paz/baum1fp.tga
nomipmaps
nopicmip
surfaceparm nomarks
surfaceparm alphashadow
surfaceparm nonsolid
surfaceparm pointlight
surfaceparm trans
deformVertexes autosprite2
{
map textures/paz/baum1fp.tga
alphaFunc GE128
depthWrite
rgbGen vertex
}
}
