Game Development Community

Transparency problems when animating texture

by Ales Potocnik · in Torque Game Engine Advanced · 08/14/2008 (11:15 am) · 1 replies

Hi,

i have a question regarding materials and flags.

If i set animFlags to a material and i am trying to animate the texture (sequence or scroll) the texture animation looses the textures transparency? Can i retain the transparency when animating the texture anyhow or is it not possible?

thanks for your answers.

#1
09/15/2008 (5:41 am)
I know that textures can retain transparency when scrolling. If you look at the barricade demo you will notice that the flagpole uses a horizontally moving .png texture that keeps it's transparency. I would look there to see what might be different in your code. Hope that helps some.