I just wanted to release my source code for a player glow, what it does is cause the player to glow and you can see their glow threw the wall. its very cool (:
Code:
{
if(m_Stride == 44) // might have to change this. i forgot stride ):
{
if(fullbright)
{
pDevice->SetRenderState(D3DRS_LIGHTING, false); //direct3d lighting off
pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255,255,255,255)); // use all colors for best effect
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_NEVER);
pDrawIndexedPrimitive(pDevice, pType, nMinIndex, nNumVertices, nStartIndex, nPrimitiveCount);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_LESSEQUAL);
}
its a D3D function so you will have to link this to your libs in globals, and also you have to declare it using a long pointer.
Code:
LPDIRECT3DDEVICE9 pDevice;
Hope i see this in some hacks