That's enough talk about
TextureStages. It's about time we saw them at work. Let's start putting our cycle together with all the right textures so we can make use of these things.
self.moulding. Add this code to the very beginning of the
self.glossTS = TextureStage("glossTS") self.glossTS.setMode(TextureStage.MModulateGloss)
TextureStageset to use
ModulateGlossmode, which requires an image with an alpha channel. However, the texture we're using is in the PNG format, which doesn't support alpha channels. We can fix that by changing the line where we load
RedTeamTex.pngto the following:
self.teamTex = loader.loadTexture("../Images/RedTeamTex.png", ...