Game Development Community

Texture animation only on first pass?

by Tom Spilman · in Torque Game Engine Advanced · 05/05/2005 (2:15 pm) · 1 replies

I was trying to get a static effect on the second pass on a monitor screen and found that the texture transforms are only applied to the first pass. In MatInstance::setupPass():

if( mCurPass == 0 )
   {
      setTextureTransforms();
   }

I this just unfinished or was there a roadblock? Should i fix this issue and return a patch?

About the author

Tom is a programmer and co-owner of Sickhead Games, LLC.


#1
05/05/2005 (2:39 pm)
I think I put that in there as a temporary optimization. Remove as you see fit.