Skip to content

Commit

Permalink
fix: MToon, Fix normal mapping when other textures are not specified
Browse files Browse the repository at this point in the history
  • Loading branch information
0b5vr committed May 20, 2024
1 parent 2ea1a8f commit a59a1ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/three-vrm-materials-mtoon/src/MToonMaterial.ts
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,7 @@ export class MToonMaterial extends THREE.ShaderMaterial {
const useUvInVert = this.outlineWidthMultiplyTexture !== null;
const useUvInFrag =
this.map !== null ||
this.normalMap !== null ||
this.emissiveMap !== null ||
this.shadeMultiplyTexture !== null ||
this.shadingShiftTexture !== null ||
Expand Down

0 comments on commit a59a1ed

Please sign in to comment.