STATE_light2_get_number_of_lights_supported_by_hardware

 

 


  There are only about 8 lights that can be active simultanuesly. The exact number is dependant on the 3D hardware
  There could be endless number of light sources (1000 different lights for example) but only about 8 active simultanuesly.
  This function returns the number of lights that can be enabled simultaneously
  When the number of enabled lights exceeds the max number possible the exceeding light sources wont effect the rendering. 
   To enable or disable lights see :STATE_WINAPI STATE_light2_disable(), STATE_light2_enable(), STATE_light2_is_disabled()

 

 

Go to page 1      Select API

 

Copyright © 2007 3DSTATE Corporation. www.3dstate.com