Jump to content
  • Advertisement
Sign in to follow this  

zbuffer issue dx 10

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

I am having an issue with depth fighting between a planet and its rings in dx 10. Is there a way to change to wbuffering or flat distance value. I am using 32 bit float zbuffers and the resolution is clearly not sufficient for the task. I am also setting the near and far to the front and far edges of the planet and rings and to 1 if the near edge is less than 1. I clear the buffer before and after rendering to prevent issues with moons and stars. It works far away but I get z fighting when I get within 6x of the radius of the planet.

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!