Original Post
How do you texture an object created by the D3DXCreateBox() function? D3DXCreateBox(gd3dDevice, 1.0f, 8.0f, 8.0f, &mesh, NULL); gd3dDevice->SetTexture(0, texture); mesh->DrawSubset(0); If I do that I only get one colour over the entire object. Is there any code that I've missed? [Edited by - HarrisonPloeg on February 23, 2007 3:00:14 AM]