Author: TheTutor
If you are making a graphics engine, it is imperative that it is capable of lighting. This tutorial is a beginners look at the functions needed to use Direct3D's fixed function pipeline, vertex lighting model.
Functions/Methods Used: IDirect3DDevice9:: GetDeviceCaps(), SetLight(), LightEnable(), SetRenderState(), DrawIndexedPrimitiveUP()