Add Ambient and Directional Lighting to Your TresJS Scene

InstructorAlvaro Saburido

Share this video with your friends

Send Tweet

This TresJS lesson teaches you the basics of lighting 3D scenes.

You'll learn how to:

  • add ambient lights for overall lighting <TresAmbientLight />
  • add directional lights for light from a specific direction <TresDirectionalLight />
  • change light color and intensity using theprops.

You will also see how materials, such as the <TresMeshStandardMaterial>, work with the lights in your scene.