Summary

In this chapter, you saw what materials are, the theory about what is happening backstage, and how to use the standard materials of Babylon.js. You saw that using a material in Babylon.js is also easy.

The example files tend to reproduce the notions viewed in this chapter: colors, alpha, textures, fog, back-face culling, and so on. Now, you can practice with materials and customize appearance of meshes.

As a concrete example, the materials are highly used in all the 3D scenes and configured by 3D artists: if we take a scene of Babylon.js made by Michel Rousseau, where he used two meshes and two different materials to reproduce the following image:

The first mesh is the body of the vase with a standard material applied to it and the second ...

Get Babylon.js Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.