Is there any way to get Shaders to respond to texture transforms? TextureScale, Offset, Translation etc?
Setting a shader on seems to turn off all texture transforms.
Is there any way to get Shaders to respond to texture transforms? TextureScale, Offset, Translation etc?
Setting a shader on seems to turn off all texture transforms.
Panda just passes texture transforms down to the graphics state. I imagine you’d have to write your shader to retrieve the texture matrix from the graphics state, and apply it within the shader.
David