Skip to content

Commit 56e3687

Browse files
authored
chore(LensFlare): fixing story assets relative paths
1 parent 0f51656 commit 56e3687

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.storybook/stories/LensFlare.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { Setup } from '../Setup'
88
import { EffectComposer, LensFlare, Vignette, Bloom } from '../../src'
99

1010
function SkyBox() {
11-
const texture = useTexture('/digital_painting_golden_hour_sunset.jpg')
11+
const texture = useTexture('digital_painting_golden_hour_sunset.jpg')
1212

1313
return (
1414
<mesh userData={{ lensflare: 'no-occlusion' }} scale={[-1, 1, 1]} castShadow={false} receiveShadow={false}>
@@ -61,7 +61,7 @@ export const Primary: Story = {
6161
}
6262

6363
function DirtLensFlare(props) {
64-
const texture = useTexture('/lensDirtTexture.png')
64+
const texture = useTexture('lensDirtTexture.png')
6565

6666
return <LensFlare {...props} lensDirtTexture={texture} />
6767
}

0 commit comments

Comments
 (0)