   Model Lighting
  How would i remove the lightning on all models so that they are not affected by any type of lighting or shadows. i want them so they are fully bright at all times. I know its something with the LightEnable and SetLight functions for d3d9, but im not sure exactly what to call. help is much appreciated.thanks 
  Try setting the D3DRS_LIGHTING renderstate to FALSE.  This means that using LightEnable and SetLight will cause D3D to crash, so make sure you don''t attempt to add any lights.Also, the same effect can be achieved by just removing all the lights from your scene, which you''ll have to do anyways.  It seems to work the same if the light count is 0 or D3DRS_LIGHTING is false.   Dustin Franklin   Mircrosoft DirectX MVP ;  I already tried this. i tried f_pD3DDevice->SetRenderState( D3DRS_LIGHTING, FALSE );f_pD3DDevice->SetRenderState( D3DRS_AMBIENT, D3DCOLOR_XRGB( 255, 255, 255 ) );in renderstate()and i tryed f_pD3DDevice->LightEnable( 0, FALSE );f_pD3DDevice->LightEnable( 1, FALSE );f_pD3DDevice->LightEnable( 2, FALSE );f_pD3DDevice->LightEnable( 3, FALSE );in LightEnable()both dont seem to make a difference. any other suggestions? ;  maybe if i could color the lights to be D3DCOLOR_XRGB( 255, 255, 255 ) completely white, it would do the trick.but how would i set the light to be white?f_pD3DDevice->SetLight(0,??);would i have to make an instance of the _D3DLIGHT9 struct to pass the 2nd argument and make the light white or what? either this or another method. 