animmap parameter noncompatible with et?


(Mlehliw) #1

I just want somebody to either confirm or deny this for me since I’m very inexperienced when it comes to making shaders. Hopefully I just used it wrong.


(hummer) #2

Seems to work fine… it’s being used with flame shaders supplied with ET under sfx I believe.


(Mlehliw) #3

Well after looking at the examples I got it to animate properly. However et seems to be ignoring the alpha channel now and the entire background shows up.

Heres what my shader looks like.

textures/mlehtex/lasers
{
	cull disable
	nomipmaps
	nopicmip
	surfaceparm nomarks
	surfaceparm pointlight
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nosteps
	{
		animMap 8 textures/Mlehtex/lasers.tga textures/Mlehtex/lasers1.tga textures/Mlehtex/lasers2.tga textures/Mlehtex/lasers3.tga
		blendFunc GL_ONE GL_ONE
	}
}