(HB)Bandolero Administrator
Mensagens : 16 Data de inscrição : 2009-08-23
| Subject: Full Bright And No Fog Tue Aug 25, 2009 10:02 pm | |
| Full Bright And No Fog Codders Add In Dip - Code:
-
if (GetAsyncKeyState(VK_F4)&1) // if we click f4 fullbright = !fullbright; //fullbright= on if(fullbright)// if FullBright on { pDevice->SetRenderState(D3DRS_LIGHTING, false); //d3d lighting off pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255,255,255,255)); // use all colors to glow up the lighting ingame } if (GetAsyncKeyState(VK_F3)&1) // if we click f3 nofog = !nofog; //nofog = on if(nofog) // if nofog on pDevice->SetRenderState(D3DRS_FOGENABLE, false); // Disable the Fog } // end of then
And Add On Te Top - Code:
-
bool fullbright = false; bool nofog = false; | |
|