*Note DirectX
I was wondering how I would input more then one texture into a scene? It seems that whenever I set the texture, the whole scene gets textures, regardless If I put in texture coordinates.
I was trying something like:
{ 0.0f, 0.0f, 0.0f, 0xfffffffff, },
#ifndef TEXTURE
{ 0.0f, 0.0f, 0.0f, 0xffffffff, 0.0f, 0.0f, },
#endif
And then under my Render() function I have something like
#ifndef TEXTURE
g_pd3dDevice->SetTexture(etc.);
#endif
There is more to it then that but thats the jist of it. Basically what I wanted here is to texture my "floor" but not my "walls". But the floor code is within the same code that holds my walls.
[edited by - EasyGino on October 23, 2003 8:52:58 AM]