Well this will seem like another really generic question but I can’t seem to find the answer either way…
I have texture mapping working all and well. This is great but I had to convert all the models texture coordinates to a 0.0 - 1.0 float to get the texture applied.
Now…next question…I have this code where I initialize the texture. In a more compelex program I will be moving from texture to texture. Will this property need to be reset each time I move to a new texture or is the scaling set for each texture?
Not sure if that made sense, I hope you know where I’m going with this.
Thanks…
Originally posted by DFrey: You need to use the texture matrix to scale the texture. Do a search on the board (beginners or advanced) it has been mentioned several times.
You would need to reset the texture matrix for any texture that used different scaling factors. The matrix is not part of the texture state, it is part of the rasterizer state.