Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


ID3DXMesh Texturing problem

This topic is 5462 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, all! I have a mesh of semisphere with texture coordinates. And I want to wrap it with proceduraly generated texture of clouds. As I understand texture binds is loading with mesh and mesh can be rendered only with predefined texture. Does anybody know how can I set texture for my ID3DXMesh at runtime? Becouse just
SD3dDeviceI->SetTexture(0, mpFinalTexture);
don''t doing anything.

Share this post

Link to post
Share on other sites
Does the mesh render correctly with it's "default" texture?
Any valid texture should do BTW...

kind rgds Nik

Set the texture first, then draw the mesh.

[edited by - Nik02 on October 6, 2003 6:59:56 AM]

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!