From the course: Learning 3D Graphics on the Web with Three.js

Unlock the full course today

Join today to access over 24,800 courses taught by industry experts.

MeshStandardMaterial

MeshStandardMaterial

- [Voice-Over] The previous materials that we have seen so far are using older simplified elimination models that are not capable of yielding realistic results in all lighting scenarios. MeshStandardMaterial is a physically based rendering material that can create much more realistic results compared to other materials that we have seen so far. This is the kind of material that modern game engines like Unreal or Unity use, and is an industry standard in gaming and visual effects. It goes without saying that usage of this material will be somewhat computationally more expensive compared to all the other materials that we have seen so far. Let's switch to standard material by passing in the corresponding String value. Here, in our Scene file, we will call the String standard, instead of phong. And if you are to take a look at the getMaterial function, we can see that the standard string makes a call to the MeshStandardMaterial instead of the phong material. We will also update our…

Contents