Fix glossy material for Teapot example #30253
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
The glossy material for the teapot (I made this example) looks smooth, due to changes in the defaults for the MeshPhongMaterial. Changed lighting and colors & shininess power for glossy so that it looks glossy again:
color: 0xc0c0c0, specular: 0x404040, shininess: 300
Changes in the lighting means the smooth and flat materials are also not oversaturated (maximum white). Compare to original at https://threejs.org/examples/?q=teapot#webgl_geometry_teapot, where the glossy and smooth (choose from "Shading" in the upper right menu) look almost identical in the original. The alternate fix would be to dim the colors on the smooth and flat materials.