VBGamer |
|||||||||||||||||||||||||||
Just... W-Buffer (1 reply, 0 views) (2001-May-30) Load The Texture into a Direct3DTexture (i think that you know that...), and before rendering the rectangle just add the:
Direct3D8.SetTexture 0, MyTexture
MyMesh.DrawSubset 0
PS: you can create texture by calling:
Set MyTexture = d3dx.CreateTextureFromFile(D3DDev, "somefile.bmp")
|