Table of Contents Chapter Index Previous Slide Next Slide 248
Using common lighting features

Lighting your world
Using common lighting features
  • All lights have several common fields:
  • on - turn it on or off
  • intensity - control brightness
  • ambientIntensity - control ambient effect
  • color - select color