246

Lighting the environment
Motivation

  • Previous examples have used a default light attached to the viewer's head

  • Java 3D provides four types of lights to illuminate your scene:
  • Ambient
  • Directional
  • Point
  • Spot