I have a strange problem with multi-texturing. I have a menu, and I have about 5 textures I use for that, all in bmp form and they all work without any problems. Then on my main scene (it’s a terrain editor btw) i have the terrain be a texture and I want to be able to use different textures for the different tiles. But, whenever I load the texture number, for example is texture is grass and texture is dust and I put:
it loads the dust one, no matter what number i put in texture[i] it always loads the last one, being dust in this case, if grass was the last one it would load the grass. Anyone know why this is happening?