Browse Source

Fixed uniform `sheenRoughness` (#23119)

* Update ShaderLib.js

* specularInstensity 0 -> 1
ycw 3 years ago
parent
commit
44837d13a1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/renderers/shaders/ShaderLib.js

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

@@ -299,7 +299,7 @@ ShaderLib.physical = {
 			sheen: { value: 0 },
 			sheenColor: { value: new Color( 0x000000 ) },
 			sheenColorMap: { value: null },
-			sheenRoughness: { value: 0 },
+			sheenRoughness: { value: 1 },
 			sheenRoughnessMap: { value: null },
 			transmission: { value: 0 },
 			transmissionMap: { value: null },
@@ -309,7 +309,7 @@ ShaderLib.physical = {
 			thicknessMap: { value: null },
 			attenuationDistance: { value: 0 },
 			attenuationColor: { value: new Color( 0x000000 ) },
-			specularIntensity: { value: 0 },
+			specularIntensity: { value: 1 },
 			specularIntensityMap: { value: null },
 			specularColor: { value: new Color( 1, 1, 1 ) },
 			specularColorMap: { value: null },