mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: closer tank models
This commit is contained in:
1 parent
4da4cf5259
commit
428a0bbad5
5 files changed
+45
-25
No files matched your search
@@ -1,3 +1,4 @@
|
||||
import { Environment } from '@react-three/drei';
|
||||
import { useModel } from '../../../../../hooks/useModel';
|
||||
import { useDuel } from '../../../../../stores/duel';
|
||||
|
||||
@@ -7,7 +8,8 @@ export function Lighting() {
|
||||
|
||||
return (
|
||||
<>
|
||||
<directionalLight
|
||||
<Environment preset="dawn" />
|
||||
{/* <directionalLight
|
||||
position={[1, 1, -1]}
|
||||
intensity={hasPbr ? 3 : 5}
|
||||
castShadow
|
||||
@@ -18,8 +20,7 @@ export function Lighting() {
|
||||
intensity={hasPbr ? 2 : 4}
|
||||
castShadow
|
||||
color={'rgb(240, 255, 240)'}
|
||||
/>
|
||||
<ambientLight intensity={0.25} />
|
||||
/> */}
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user