Use FillRGBA with alpha instead of XRGB
How would I make a transparent menu? So like 50%.
mastermods (08-22-2010)
mastermods (08-22-2010),topblast (08-23-2010)
Enjoy
Code:struct Vertex { float x,y,z,ht; DWORD yourcolor; } V[4] = { {(float)x,(float)(y+h), 0.0f, 0.0f, yourcolor}, {(float)x,(float)y, 0.0f, 0.0f, yourcolor}, {(float)(x+w),(float)(y+h), 0.0f, 0.0f, yourcolor}, {(float)(x+w),(float)y, 0.0f, 0.0f, yourcolor} }; pDevice->SetTexture(0, NULL); pDevice->SetRenderState(D3DRS_ALPHABLENDENABLE,true); pDevice->DrawPrimitiveUP(D3DPT_TRIANGLESTRIP,2,V,sizeof(Vertex));
Dont ban me
mastermods (08-22-2010),tempta43 (08-22-2010)
thanks everyone!
lol, for me the box is first transpaent, and by loginscrren is there no box xD
topblast (08-23-2010)
nty. XD MY HOOK D:
like everyone is giving different answers witch ones acually wokr.. ??