Skip to main content
gamedev.net
🔒 Locked

Z-buffer

Started by Zoot 1 reply 250+ views
Original Post
Zoot
Zoot
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
GSACP: GameDev Society Against Crap PostingTo join: Put these lines in your signature and don't post crap!
dedrick
dedrick
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
dedrickwww.whiteknucklegames.com

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.