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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access