We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3b2abe commit e8e1a71Copy full SHA for e8e1a71
src/materials/Material.js
@@ -142,7 +142,7 @@ THREE.Material.prototype = {
142
if ( this.color instanceof THREE.Color ) data.color = this.color.getHex();
143
144
if ( this.roughness !== 0.5 ) data.roughness = this.roughness;
145
- if ( this.metalness > 0 ) data.metalness = this.metalness;
+ if ( this.metalness !== 0.5 ) data.metalness = this.metalness;
146
147
if ( this.emissive instanceof THREE.Color ) data.emissive = this.emissive.getHex();
148
if ( this.specular instanceof THREE.Color ) data.specular = this.specular.getHex();
0 commit comments