Skip to content

Commit

Permalink
fix: 透明度を反映
Browse files Browse the repository at this point in the history
  • Loading branch information
shun-shobon committed Nov 5, 2024
1 parent bd4bd97 commit d51b7bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/components/ModelLoad.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ function useCharacterSetting(setting: CharacterSetting) {
emissiveIntensity: oldMaterial.emissiveIntensity,
emissiveMap: oldMaterial.emissiveMap,
side: oldMaterial.side,
opacity: oldMaterial.opacity,
transparent: oldMaterial.transparent,
});
mesh.material = newMaterial;
});
Expand Down

0 comments on commit d51b7bc

Please sign in to comment.