O'Reilly logo

Three.js Essentials by Jos Dirksen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Improving the look with more advanced textures

To further improve the model of the earth, we'll add some more depth to the mountain ranges and other elevations and change the reflectivity of the water bodies. Let's start by adding more depth to the scene.

Using a normal map to simulate elevations

In 3D modeling, there are two different approaches to simulate the depth using a texture. The first one is a bump map. With a bump map, you can create a black and white texture, where the color of each pixel determines the elevation. Even though this works for simple models, it doesn't result in a very detailed depth rendering.

For a more detailed approach, we can also use a normal map. A normal map doesn't store the intensity of each pixel but rather ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required