Explorar o código

remove duplicated line

Alexander Rose %!s(int64=3) %!d(string=hai) anos
pai
achega
1cbcb5c530
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      src/mol-gl/shader/chunks/apply-light-color.glsl.ts

+ 0 - 1
src/mol-gl/shader/chunks/apply-light-color.glsl.ts

@@ -25,7 +25,6 @@ ReflectedLight reflectedLight = ReflectedLight(vec3(0.0), vec3(0.0), vec3(0.0),
 
 
 PhysicalMaterial physicalMaterial;
 PhysicalMaterial physicalMaterial;
 physicalMaterial.diffuseColor = color.rgb * (1.0 - metalness);
 physicalMaterial.diffuseColor = color.rgb * (1.0 - metalness);
-physicalMaterial.roughness = min(max(roughness, 0.0525), 1.0);
 #ifdef enabledFragDepth
 #ifdef enabledFragDepth
     physicalMaterial.roughness = min(max(roughness, 0.0525), 1.0);
     physicalMaterial.roughness = min(max(roughness, 0.0525), 1.0);
 #else
 #else