Skip to content

Commit

Permalink
Merge pull request #1410 from pixiv/fix-mtoon-normal-uv
Browse files Browse the repository at this point in the history
fix: MToon, Fix normal mapping when other textures are not specified
  • Loading branch information
0b5vr committed May 21, 2024
2 parents 2ea1a8f + a59a1ed commit 9e16c38
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 9e16c38

Please sign in to comment.