August 2018
Intermediate to advanced
528 pages
10h 58m
English
With THREE.MeshPhongMaterial, we can create a material that is shiny. The properties you can use for that are pretty much the same as for a non-shiny THREE.MeshLambertMaterial object. In older versions, this was the only material which you could use to make shiny, plastic or metal-like objects. With newer versions of Three.js, if you want more control, you can also use THREE.MeshStandardMaterial and THREE.MeshPhysicalMaterial. We'll discuss both of these materials after we look at THREE.MeshPhongMaterial.
We'll once again skip the basic properties and focus on the properties specific for this material. These properties for this material are shown in the following table:
|
Name |
Description |
|
color |
This is the ... |
Read now
Unlock full access