Search⌘ K
AI Features

Summary of Working with Light Sources in Three.js

Explore different types of light sources in Three.js including AmbientLight, PointLight, SpotLight, DirectionalLight, and specialized lights. Learn how each influences 3D materials and shadows, as well as how to fine-tune lighting effects for realistic scenes using controls and environment maps.

We'll cover the following...

Wrap Up!

We covered a lot of information about the different kinds of lights available in Three.js:

  • We learned that configuring lights, colors, and shadows is not an exact science. To get the correct result, we should experiment with different settings and use a lil.GUI control to fine-tune our configuration. The various lights behave in different ways and materials respond differently to ...