Ok, granx pointed me towards depth testing, and it turned out to be correct. I just had to enable depth and allow for writing by using:
d3dDevice->SetRenderState(D3DRS_ZENABLE,D3DZB_TRUE);
d3dDevice->SetRenderState(D3DRS_ZWRITEENABLE,true);
Search found 2 matches
- Fri Jan 05, 2007 02:54
- Forum: Offtopic Discussion
- Topic: Weird transparency rendering.
- Replies: 1
- Views: 2046
- Tue Jan 02, 2007 09:52
- Forum: Offtopic Discussion
- Topic: Weird transparency rendering.
- Replies: 1
- Views: 2046
Weird transparency rendering.
Ok, i've come here because i just cannot figure this out by myself, and i was hoping someone here had a solution. I have a directx engine in the works, and so far everything has been fine, so i finaly decided to give cegui a try, however it seems to do some weird things to the renderer. Bellow are s...