353

Lighting the environment
Types of Lights

  • Java 3D provides four types of lights:
  • Ambient
  • Directional
  • Point
  • Spot
  • All lights share common attributes:
  • An on/off enable state
  • A color
  • A bounding volume and scope controlling the range of shapes they illuminate