Original Post
I made a program to show models from files, and some object to be transparent, so I added D3DFVF_DIFFUSE to my vertex FVF, and added these lines to my initialization code: m_d3dDevice->SetRenderState(D3DRS_ALPHABLENDENABLE,true); m_d3dDevice->SetRenderState(D3DRS_SRCBLEND,D3DBLEND_SRCALPHA); m_d3dDevice->SetRenderState(D3DRS_DESTBLEND,D3DBLEND_INVSRCALPHA); m_d3dDevice->SetTextureStageState(0,D3DTSS_ALPHAARG1,D3DTA_DIFFUSE); But now I have a problem, I don't know how to describe it but here are some screenshots: without alpha: http://home.hccnet.nl/borre.mosch/screenshot1.jpg with alpha: http://home.hccnet.nl/borre.mosch/screenshot2.jpg Some triangles aren't only transparent, but also make whatever is behind them appear transparent. Does anyone know what I'm doing wrong? Thanks in advance -Borre Mosch