Course lesson
Enable Shadows in Your TresJS Scene
In this TresJS lesson, you'll learn how to enable shadows in your 3D scenes.
- Duration
- 6 min
- Access
- Included
- Transcript
- Retained from source evidence
In this TresJS lesson, you'll learn how to enable shadows in your 3D scenes.
We'll cover:
- the
shadowsprop to turn on shadows - the
cast-shadowproperty for lights - and the
cast-shadowandreceive-shadowproperties for meshes.
You will see how to adjust light intensity, position, and object placement to control the appearance of shadows. By the end, you'll understand the key aspects of configuring shadows in TresJS scenes.