Skip to content

Commit

Permalink
fix (MToon): Workaround typing of UniformsUtils.merge
Browse files Browse the repository at this point in the history
not a proper typing, might want to fix from three-ts-types side
  • Loading branch information
0b5vr committed Jan 17, 2024
1 parent 048962d commit 8a89449
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/three-vrm-materials-mtoon/src/MToonMaterial.ts
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ export class MToonMaterial extends THREE.ShaderMaterial {
uvAnimationRotationPhase: { value: 0.0 },
},
parameters.uniforms ?? {},
]);
]) as typeof MToonMaterial.prototype.uniforms;

// == finally compile the shader program =======================================================
this.setValues(parameters);
Expand Down

0 comments on commit 8a89449

Please sign in to comment.