Skip to content

Commit

Permalink
GLTFExporter: Clearer code.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Oct 21, 2024
1 parent 39b1f02 commit 48e6e2e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/jsm/exporters/GLTFExporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -1524,7 +1524,8 @@ class GLTFWriter {

} else {

materialDef.pbrMetallicRoughness.metallicFactor = 0; // default roughness is 1
materialDef.pbrMetallicRoughness.metallicFactor = 0;
materialDef.pbrMetallicRoughness.roughnessFactor = 1;

}

Expand Down

0 comments on commit 48e6e2e

Please sign in to comment.