I have loaded a few models into a scene. Each model uses a different texture including the floor which has a green texture.
The problem I am having is that as I navigate round objects and move to the left or right, suddenly the object texture changes to the one I used for the floor.
Its a very odd behaviour which doesnt go away even when I do
this would take me a little time as the code is a bit big and messy. I will try to get something for you. btw am I doing all the right things here? my understanding of textures is near zero.
You call it whenever states change on the scenegraph. typically you call it once on the root node at the end of setting up your scene (done for you if you use SimpleGame) then you’d only need to call it again if you change states around like swap in a new texture, etc.