i’ve made 6 textures which i want to use for an animating texture, like the fire textures in textures/sfx. they are all 32 bit .tga’s with an alpha channel.
this is the shader i used, exactly the same as the fire shader in the sfx.shader
textures/weebulls_dm/teleport01
{ qer_editorimage textures/weebulls_dm/teleport01.tga
q3map_surfacelight 1000
cull none
nofog
surfaceparm nomarks
surfaceparm nonsolid
surfaceparm pointlight
surfaceparm trans
{
animMap 10 textures/weebulls_dm/teleport01.tga textures/weebulls_dm/teleport02.tga textures/weebulls_dm/teleport03.tga textures/weebulls_dm/teleport04.tga textures/weebulls_dm/teleport05.tga
blendFunc GL_ONE GL_ONE
rgbGen wave inverseSawtooth 0 1 0 10
}
{
animMap 10 textures/weebulls_dm/teleport02.tga textures/weebulls_dm/teleport03.tga textures/weebulls_dm/teleport04.tga textures/weebulls_dm/teleport05.tga textures/weebulls_dm/teleport01.tga
blendFunc GL_ONE GL_ONE
rgbGen wave sawtooth 0 1 0 10
}
{
map textures/weebulls_dm/teleportball.tga
blendFunc GL_ONE GL_ONE
rgbGen wave sin .6 .2 0 .6
}
}
my problem is that it doesn’t animate and the alpha channel doesn’t work. i see a blue glow around it, cuz the texture is blue and i see one of the textures, but it’s not animating. i can also see the parts which are black in the alpha channel, so i shouldn’t see these parts.
i’ve got another less important question. i’ve read in the shader manual something about deformVertexes autosprite(2), does this work in ET, if so, where do i have to put this line in the shader. i want to use this in the above shader.
thx in advance
