fix: move ambient light to page root
This commit is contained in:
@@ -85,6 +85,7 @@ export default function Fear() {
|
|||||||
|
|
||||||
<color attach="background" args={['#050505']} />
|
<color attach="background" args={['#050505']} />
|
||||||
|
|
||||||
|
<ambientLight intensity={0.0225} />
|
||||||
<fogExp2 attach='fog' args={[0x050505, 0.035]} />
|
<fogExp2 attach='fog' args={[0x050505, 0.035]} />
|
||||||
<PostProcessing />
|
<PostProcessing />
|
||||||
|
|
||||||
|
|||||||
@@ -230,8 +230,6 @@ export default function Hallway() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<ambientLight intensity={0.0225} />
|
|
||||||
|
|
||||||
{segmentPool.map((poolIndex) => (
|
{segmentPool.map((poolIndex) => (
|
||||||
<group
|
<group
|
||||||
key={poolIndex}
|
key={poolIndex}
|
||||||
|
|||||||
Reference in New Issue
Block a user