February 2023
Intermediate to advanced
554 pages
11h 23m
English
In Chapter 3, Working with Light Sources in Three.js, we talked a bit about materials. You learned that a material, together with a THREE.Geometry instance, forms a THREE.Mesh object. A material is like the skin of an object that defines what the outside of a geometry looks like. For example, a skin defines whether a geometry is metallic-looking, transparent, or shown as a wireframe. The resulting THREE.Mesh object can then be added to the scene to be rendered by Three.js.
So far, we haven’t looked at materials in much detail. In this chapter, we’ll dive into all the materials Three.js has to offer, and you’ll learn how you can use these materials to create good-looking 3D objects. The materials we’ll explore ...
Read now
Unlock full access