   lighting in directx
  Hi i'm trying to create lighting in my scene on directx.I have two planet set up.the camera is set on one planetI would like to set up a light to represent a sun,so that if i move a planet in front of the light it will create an eclipse effect.would I use a point light?how would I set it up?This is the code i'm trying to use, but i don't understand wot to put in posvoid CreatePointLight(const D3DVECTOR &pos){  // Fill in a light structure defining our light  D3DLIGHT9 light;  ZeroMemory( &light, sizeof(D3DLIGHT9) );  light.Type  = D3DLIGHT_POINT;  light.Diffuse.r  = 1.0f;  light.Diffuse.g  = 1.0f;  light.Diffuse.b  = 1.0f;// Point lights have no direction but do have a position  light.Position = pos// Tell the device about the light and turn it on  light.Attenuation0 = 0.1f;  light.Range=200.0f  gD3dDevice->SetLight( 1, &light );  gD3dDevice->LightEnable( 1, TRUE ); }   