
if(m_Stride == 44)
{
DWORD dwOldZEnable = D3DZB_TRUE;
m_pD3Ddev->GetRenderState(D3DRS_ZENABLE, &dwOldZEnable);
m_pD3Ddev->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
m_pD3Ddev->SetTexture(0, Blue);
m_pD3Ddev->DrawIndexedPrimitive(PrimitiveType, minIndex, NumVertices, startIndex, primCount);
m_pD3Ddev->SetRenderState(D3DRS_ZENABLE, dwOldZEnable);
m_pD3Ddev->SetTexture(0, Green);
m_pD3Ddev->SetRenderState(D3DRS_LIGHTING,FALSE);
}
thanks Dave. I see easily how this works, but apparently there has been a change to the player models (in BETA5) so they no longer recieve SetRenderState (according to TGS s0beit). Dave if i get stuck trying to get this working, is it ok to pm you about this & DirectX questions in general ?