Sign in to follow this  
Alex Hopkins

DirectX 11 Flickering Polygon Edges Problem

Recommended Posts

EDIT: Stupidly, my Near plane was set too small (to combat an earlier issue). I do not know how to delete this post however.

 

I'm following Frank Luna's Introduction to 3D Game Programming with DirectX11 and I am seeing an issue with the edges of the polygons on screen. (I'm using Windows SDK, Effects11 and DirectXTK in my solution on Windows 7)

The intersection between the waves and hills (from chapter 8) and the edge of the crate have horrible dancing polygons, almost like Z-Fighting but not. I can't paste all my code but here is a link to a quick video clip demonstrating the effect.

YR7M5.png

Does any DirectX pro have any insight into why this might be happening or has anybody seen this before?

There is a more obvious effect on this video (ZIPPED) 

https://www.dropbox.com/s/y6arcbn5c8jpcmh/MEngine%202014-01-02%2015-28-13-59533.zip

Edited by Alex Hopkins

Share this post


Link to post
Share on other sites

What I can think of is you've either set your camera's near-clipping distance too low or you do not clear the depth buffer at the beginning of every frame.

 

Best post videos to YouTube.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this