I am new to d3d... something is wrong with my z-buffer.. I use this line to turn it on:
g_pD3DDevice->SetRenderState( D3DRS_ZENABLE, TRUE );
http://217.208.77.45/z-buffer.jpg
how do you know it''s your zbuffer? looks more like something else is going on...
more like, you''re using the texture coords as vertex colors... there may be some culling problems there, too - check to make sure your culling and order of verts agree with each other...
dedrick@whiteknucklegames.com
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
With your permission, GameDev.net uses analytics cookies to understand how people use the platform.
You can accept analytics or continue with necessary cookies only.
Learn more