Skip to content

Commit 4fcafc1

Browse files
committed
bloom is back, effectcomposer got fixed
1 parent d2ffc9e commit 4fcafc1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/neonRoad/Canvas.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import City from './City'
1010
//import Trees from './Trees'
1111
//import Terrains from './Terrains'
1212
import Landscape from './Landscape'
13-
//import { EffectComposer, Bloom } from '@react-three/postprocessing'
13+
import { EffectComposer, Bloom } from '@react-three/postprocessing'
1414

1515
interface IProps extends React.PropsWithChildren {
1616
altText: string
@@ -119,13 +119,13 @@ const NeonRoadCanvas: React.FC<IProps> = (props) => {
119119
{/* <Terrains /> */}
120120
{/* <Trees /> */}
121121
<Landscape />
122-
{/* <EffectComposer>
122+
<EffectComposer>
123123
<Bloom
124124
luminanceThreshold={0.08}
125125
intensity={0.7}
126126
luminanceSmoothing={0.01}
127127
/>
128-
</EffectComposer> */}
128+
</EffectComposer>
129129
{/* the following components can be useful in development */}
130130
{/*<axesHelper />*/}
131131
{/*<OrbitControls camera={cameraRef.current} />*/}

0 commit comments

Comments
 (0)