Skip to content

Commit

Permalink
fix: API breaking changes on THREE.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Losses committed Jun 10, 2024
1 parent e98e52c commit 8e8ff8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/manager/HpManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ export const HpManager = (effects: Effects) => {
1 * effectFactor * 2,
);
(
effects.filmPass.uniforms as { nIntensity: { value: number } }
).nIntensity.value = 0.8 * effectFactor;
effects.filmPass.uniforms as { intensity: { value: number } }
).intensity.value = 0.8 * effectFactor;
effects.vignettePass.uniforms.offset.value = 3 * effectFactor;
effects.vignettePass.uniforms.darkness.value = 4 * effectFactor;

Expand Down

0 comments on commit 8e8ff8f

Please sign in to comment.