Hello,
I try to draw with directx over WoW. But I'm missing the right RenderStates for that.
In WoW 3.3.5.12340 have the following RenderStates served
Code:
windowDevice->SetRenderState(D3DRS_LIGHTING, false);
windowDevice->SetRenderState(D3DRS_ZENABLE, false);
windowDevice->SetRenderState(D3DRS_CULLMODE, D3DCULL_NONE);
windowDevice->SetRenderState(D3DRS_BLENDOP, D3DBLENDOP_ADD);
windowDevice->SetRenderState(D3DRS_ALPHABLENDENABLE, true);
windowDevice->SetRenderState(D3DRS_DESTBLEND, D3DBLEND_INVSRCALPHA);
windowDevice->SetRenderState(D3DRS_SRCBLEND, D3DBLEND_SRCALPHA);