Hacker Bandolero

Welcome To The Forum
TextPortalHomeFAQSearchMemberlistUsergroupsRegisterLog in

Share | 

 Full Bright And No Fog

Go down 

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

PostSubject: Full Bright And No Fog   Tue Aug 25, 2009 10:02 pm

Full Bright And No Fog Codders

Add In Dip

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

 bool fullbright = false;
 bool nofog = false;
Back to top Go down
View user profile http://hackerbandolero.77forum.com
Full Bright And No Fog
Back to top 
Page 1 of 1
 Similar topics
» Lesson One - The Full Body-Bind Curse (Year II)
» March Full Moon Ritual
» Behind The Eyes Of A Full Blooded Husky, You Will Find The Heart Of A Wolf.
» August Full Moon Ritual 2009
» Look On The Bright Side... We Don't Need Rules...(Pick & Play)

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