Hi, I am attempting to animate a texture on a model. The texture itself is a gradient with alpha transparency.
I am able to animate the texture correctly, however, The texture animates over the texture of the exported model, and there is no transparency. I attempted to set the textureStage mode to
TexturStage.MAdd, but it did not work. Here is how I have the model and texture set up:
self.ts0 = TextureStage('texstage0') self.ts0.setTexcoordName("0") self.ts0.setMode(TextureStage.MReplace) self.ts0.setSort(0) tex = loader.loadTexture('../models/tex/transgradiet.png') self.slash1trail = loader.loadModel('../models/kiktrailtex.glb') self.slash1trail.setTexture(self.ts0, tex,1)