Jump to content
  • Advertisement
Sign in to follow this  

zbuffer issue dx 10

This topic is 3507 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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!