mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 12:09:51 +02:00
ground and sky color
This commit is contained in:
1 parent
051e9ec74a
commit
3da1ed4d6c
1 file changed
+6
-1
+6
-1
@@ -1,3 +1,4 @@
|
|||||||
|
import { blueDark, tomatoDark } from "@radix-ui/colors";
|
||||||
import { ContactShadows } from "@react-three/drei";
|
import { ContactShadows } from "@react-three/drei";
|
||||||
import { useFrame } from "@react-three/fiber";
|
import { useFrame } from "@react-three/fiber";
|
||||||
import { clamp, times } from "lodash-es";
|
import { clamp, times } from "lodash-es";
|
||||||
@@ -84,7 +85,11 @@ export function Lighting() {
|
|||||||
)}
|
)}
|
||||||
|
|
||||||
<group ref={wrapper}>
|
<group ref={wrapper}>
|
||||||
<hemisphereLight intensity={0} color="#d2e9ff" groundColor="#85490c" />
|
<hemisphereLight
|
||||||
|
intensity={0}
|
||||||
|
color={blueDark.blue12}
|
||||||
|
groundColor={tomatoDark.tomato9}
|
||||||
|
/>
|
||||||
|
|
||||||
{times(LIGHTS_COUNT, (index) => {
|
{times(LIGHTS_COUNT, (index) => {
|
||||||
const x = index / (LIGHTS_COUNT - 1);
|
const x = index / (LIGHTS_COUNT - 1);
|
||||||
|
|||||||
Reference in new issue
Block a user