Original Post
Hi, could someone show me the steps to set up Zbuffer with Direct3D9, i know only these two things:
))
Thanks
Kev
...
...
hr=g_d3d_device->Clear(0,
NULL,
D3DCLEAR_TARGET | D3DCLEAR_ZBUFFER,
0x00000000,
1.0f,
0);
...
...
g_d3d_device->SetRenderState(D3DRS_ZENABLE,D3DZB_TRUE);
...
...
but when i run the program the screen is all black...
(and with Zbuffer deactivated all works fine(but without Zbuffer