   DirectX8 Ambient Lighting
  Ive known DX in vb for over a year now and have made many games, i need some help with lighting tris though. Ive looked at the tutorials at directx4vb.com many times and have had no luck. I want ambient lighting for a 2d RPG to express a thunder storm, or rain etc... If anyone could give me a simple ambient lighting tutorial in visual basic 6 that i can tear appart and study i would be most greatful.Give me an e-mail at kescod1@yahoo.com if you can help me or give me some advice.Thanks for your time...CyRiX-10 
  You may want to try calling "SetRenderState", passing "D3DRS_AMBIENT", and then the ambient color. ;  Also, set the material ambient color to something other than 0x00000000 to see the effects of the ambient lighting in your geometry. The sdk has a whole chapter about the lighting engine, including concise formulas for all types of basic lighting.I suggest you read it -Nik 