SetSunLight( <red>, <green>, <blue> )


Module: Level
SP Only

Summary:

Overrides the sun color for a level. Use 'resetSunLight' to revert to the map's values.



Example:

SetSunLight( 1.2, 1.2, 0.4 );



Required Args:

  • 1 : <red> The red component of sunlight color. 0 is black, 1 is fullbright, more than 1 is overbright.
  • 2 : <green> The green component of sunlight color. 0 is black, 1 is fullbright, more than 1 is overbright.
  • 3 : <blue> The blue component of sunlight color. 0 is black, 1 is fullbright, more than 1 is overbright.