Course lesson
Add Ambient and Directional Lighting to Your TresJS Scene
This TresJS lesson teaches you the basics of lighting 3D scenes.
- Duration
- 5 min
- Access
- Included
- Transcript
- Retained from source evidence
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.