提交 42f51431 编写于 作者: M Mr.doob

Merge pull request #7594 from WestLangley/dev-standard_metal

MeshStandardMaterial: metalnessMap now modulates metalness
......@@ -3,6 +3,6 @@ float metalnessFactor = metalness;
#ifdef USE_METALNESSMAP
vec4 texelMetalness = texture2D( metalnessMap, vUv );
metalnessFactor = texelMetalness.r; // note equality, not *=
metalnessFactor *= texelMetalness.r;
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册