Hacker Bandolero
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Hacker Bandolero

Welcome To The Forum
 
TextPortalHomeLatest imagesSearchRegisterLog in
.

 

 Full Bright And No Fog

Go down 
AuthorMessage
(HB)Bandolero
Administrator
(HB)Bandolero


Mensagens : 16
Data de inscrição : 2009-08-23

Full Bright And No Fog Empty
PostSubject: Full Bright And No Fog   Full Bright And No Fog I_icon_minitimeTue 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;
Back to top Go down
https://hackerbandolero.rpg-board.net
 
Full Bright And No Fog
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Hacker Bandolero :: Coding :: -D3D Coding-
Jump to: