diff --git a/scene.js b/scene.js index d4d2e431..c92cd27f 100644 --- a/scene.js +++ b/scene.js @@ -252,9 +252,6 @@ class Mesh { this.glState.uniforms['u_MetallicRoughnessSampler'] = { 'funcName': 'uniform1i', 'vals': [samplerIndex] }; samplerIndex++; this.defines.HAS_METALROUGHNESSMAP = 1; - if (this.glState.uniforms['u_MetallicRoughnessValues']) { - delete this.glState.uniforms['u_MetallicRoughnessValues']; - } } else { if (this.glState.uniforms['u_MetallicRoughnessSampler']) {