Jump to content
  • Advertisement
Sign in to follow this  
Khaos Dragon

texture swimming or something?

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

For my first direct3D program, I am simply loading in a heightmap from a bmp file and texturing a color map to it. This seems to work fine, except that the texture seems to have wierd moving shapes in the background. I have enclosed the following demo of my work to explain what I mean (use w,a,s,d to move). You will notice that the mountains in the horizon have really wierd shapes that move as you move... http://studentweb.tulane.edu/~mconway/EcoPlaygroundD3D.rar Any suggestions or advice would be greatly appreciated, thanks!

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by CPPMaster Poppet
I bet your z-buffer is 8 or 16 bit.

Notice the water-like polygon. See the depth fighting? Change your z-buffer to 24 or 32 bit.


That was exactly it! Thank you so much, looks much better now.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!