Skip to content

Commit

Permalink
Merge pull request #1310 from actnwit/fix/vrm1-outline-width
Browse files Browse the repository at this point in the history
fix: VRM1 outlineWidthFactor unit
  • Loading branch information
emadurandal authored Jan 1, 2024
2 parents e2a17a8 + 31e4aff commit b7ca4a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/foundation/importer/VrmImporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ export class VrmImporter {
_OutlineCullMode: 1,
_OutlineLightingMix: mtoonMaterial.outlineLightingMixFactor,
_OutlineScaledMaxDistance: 1.0,
_OutlineWidth: mtoonMaterial.outlineWidthFactor,
_OutlineWidth: mtoonMaterial.outlineWidthFactor * 100,
_OutlineWidthMode:
mtoonMaterial.outlineWidthMode === 'worldCoordinates'
? 1
Expand Down

0 comments on commit b7ca4a8

Please sign in to comment.