...

/

Creating Fake Lighting Using a Lightmap

Creating Fake Lighting Using a Lightmap

Learn how to create fake lights in the scene using lightmap in Three.js.

We'll cover the following...

Lightmap

While an ambient occlusion map changes the amount of light received by certain parts of the model, Three.js also supports lightmap, which does the opposite (approximately) by specifying a map that adds extra lighting to certain parts of the model.

A lightmap is a texture that contains information about how much the lights in the scene will affect the ...