mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +02:00
bigger floor and more aggressive light decay
This commit is contained in:
1 parent
86504e685e
commit
1413475679
2 files changed
+4
-4
No files matched your search
+3
-3
@@ -23,8 +23,8 @@ const THETA_OFFSET = degToRad(180 - 45);
|
|||||||
const LIGHT_DISTANCE = 20;
|
const LIGHT_DISTANCE = 20;
|
||||||
const LIGHT_HEIGHT_0 = 4;
|
const LIGHT_HEIGHT_0 = 4;
|
||||||
const LIGHT_HEIGHT_1 = 6;
|
const LIGHT_HEIGHT_1 = 6;
|
||||||
const INTENSITY_0 = 6;
|
const INTENSITY_0 = 6 * 9;
|
||||||
const INTENSITY_1 = 3;
|
const INTENSITY_1 = 3 * 9;
|
||||||
const HEMISPHERE_INTENSITY = 2;
|
const HEMISPHERE_INTENSITY = 2;
|
||||||
|
|
||||||
export const transitionEvent = new Quicklime<number>(0);
|
export const transitionEvent = new Quicklime<number>(0);
|
||||||
@@ -93,7 +93,7 @@ export function Lighting() {
|
|||||||
intensity={intensity}
|
intensity={intensity}
|
||||||
penumbra={1}
|
penumbra={1}
|
||||||
castShadow={highGraphics}
|
castShadow={highGraphics}
|
||||||
decay={0}
|
decay={1}
|
||||||
color="#ffffff"
|
color="#ffffff"
|
||||||
angle={0}
|
angle={0}
|
||||||
/>
|
/>
|
||||||
|
|||||||
+1
-1
@@ -3,7 +3,7 @@ import { Quicklime, type QuicklimeEvent } from "quicklime";
|
|||||||
import { useEffect, useRef } from "react";
|
import { useEffect, useRef } from "react";
|
||||||
import { Mesh, MeshStandardMaterial } from "three";
|
import { Mesh, MeshStandardMaterial } from "three";
|
||||||
|
|
||||||
const SIZE = 14;
|
const SIZE = 2 ** 4;
|
||||||
|
|
||||||
export const screenshotReadyEvent = new Quicklime(false);
|
export const screenshotReadyEvent = new Quicklime(false);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user