Reputation: 1804
Does anyone knows what might be causing the weird artifacts I am seeing in my C# Managed DirectX application. Here is a screenshot of the problem I am having:
What you are looking at is some terrain with a flat plane under it.
This must be a Z-Buffer issue but I have not been able to sort it out. Has anyone else run into this same problem? It is driving me nuts!
Upvotes: 2
Views: 660
Reputation: 5403
It's called Z fighting and most likely your zmin of the projection matrix is too small.
Upvotes: 5