Jump to content
  • Advertisement

Archived

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

Simple triangle has noise in D3D, any ideas?

This topic is 5952 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

My program is drawing a simple solid triangle in windowed mode as well as a box created with D3DXCreateBox(). The box is solid, but the triangle seems to be suffering from random noise across its surface -- the colours change slightly, and it looks like tearing. If it wasn''t for the fact that the box is solid, I would say that this is due to the frame rate being too high (600fps). Can someone explain to me why I might have this noisey tearing across my triangle?

Share this post


Link to post
Share on other sites
Advertisement
Never mind, I found that I hadn''t called SetTexture(0, NULL) at the start of the frame, so I guess D3D was trying to map a bumb texture to the triangle.

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!