feat: some changes to lighting... again

This commit is contained in:
TrèsAbhi committed 2025-09-06 12:40:35 -05:00
1 parent 66cf1fd223
commit e26bb4efe0
2 files changed
+2 -2

No files matched your search

@@ -11,7 +11,7 @@ const LIGHTS_COUNT = 5;
const LIGHT_DISTANCE = 13; const LIGHT_DISTANCE = 13;
const LIGHT_HEIGHT_0 = 4; const LIGHT_HEIGHT_0 = 4;
const LIGHT_HEIGHT_1 = 2; const LIGHT_HEIGHT_1 = 2;
const INTENSITY = 35; const INTENSITY = 50;
const N = 128; const N = 128;
const TARGET_FRAME_RATE = 30; const TARGET_FRAME_RATE = 30;
@@ -14,7 +14,7 @@ export function SceneProps() {
useFrame(({ camera }) => { useFrame(({ camera }) => {
if (!material.current) return; if (!material.current) return;
material.current.opacity = clamp(0.5 * camera.position.y, 0, 1); material.current.opacity = clamp(0.5 * camera.position.y, 0, 0.5);
}); });
useEffect(() => { useEffect(() => {