提交 e7b3717a 编写于 作者: W WestLangley

MeshStandardMaterial: metalnessMap now modulates metalness

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