mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
yeah
This commit is contained in:
1 parent
91945a3b27
commit
281549add3
1 file changed
+4
-4
@@ -1,3 +1,4 @@
|
||||
import { Environment } from '@react-three/drei';
|
||||
import { useModel } from '../../../../../hooks/useModel';
|
||||
import { useDuel } from '../../../../../stores/duel';
|
||||
|
||||
@@ -7,20 +8,19 @@ export function Lighting() {
|
||||
|
||||
return (
|
||||
<>
|
||||
{/* <Environment preset="warehouse" /> */}
|
||||
<Environment preset="warehouse" />
|
||||
<directionalLight
|
||||
position={[1, 1, -1]}
|
||||
intensity={hasPbr ? 4 : 5}
|
||||
intensity={hasPbr ? 1 : 5}
|
||||
castShadow
|
||||
color={'rgb(225, 225, 255)'}
|
||||
/>
|
||||
<directionalLight
|
||||
position={[-1, 1, 1]}
|
||||
intensity={hasPbr ? 3 : 4}
|
||||
intensity={hasPbr ? 1 : 4}
|
||||
castShadow
|
||||
color={'rgb(240, 255, 240)'}
|
||||
/>
|
||||
<ambientLight intensity={1} />
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user