浏览代码

Merge pull request #19132 from marcofugaro/fix-default-roughness

Update metalness and roughness default values in the uniforms
Mr.doob 5 年之前
父节点
当前提交
2256ff059c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/renderers/shaders/ShaderLib.js

+ 2 - 2
src/renderers/shaders/ShaderLib.js

@@ -94,8 +94,8 @@ var ShaderLib = {
 			UniformsLib.lights,
 			{
 				emissive: { value: new Color( 0x000000 ) },
-				roughness: { value: 0.5 },
-				metalness: { value: 0.5 },
+				roughness: { value: 1.0 },
+				metalness: { value: 0.0 },
 				envMapIntensity: { value: 1 } // temporary
 			}
 		] ),