diff --git a/.storybook/stories/volumetricSpotlight.stories.ts b/.storybook/stories/volumetricSpotlight.stories.ts index 17d8518..38f60a2 100644 --- a/.storybook/stories/volumetricSpotlight.stories.ts +++ b/.storybook/stories/volumetricSpotlight.stories.ts @@ -169,7 +169,7 @@ function renderDepth() { */ function depthOnResize() { renderer.getSize(rendererSize) - rendererSize.multiplyScalar(renderer.getPixelRatio()) + rendererSize.multiplyScalar(renderer.getPixelRatio()) // depth texture will get misaligned if pixel is not multiplied volumeMaterial.resolution.copy(rendererSize) }