Feat/map-environment #6

Merged
math-pixel merged 116 commits from feat/map-environment into develop 2026-05-29 00:00:51 +00:00
2 changed files with 9 additions and 8 deletions
Showing only changes of commit a6787a7ecb - Show all commits
+7 -7
View File
@@ -1,14 +1,14 @@
export const AMBIENT_LIGHT_COLOR = "#dbeafe";
export const SUN_LIGHT_COLOR = "#fff7ed";
export const AMBIENT_LIGHT_COLOR = "#dfe7d8";
export const SUN_LIGHT_COLOR = "#ffe2bf";
export const LIGHTING_DEFAULTS = {
ambientColor: AMBIENT_LIGHT_COLOR,
ambientIntensity: 1.8,
ambientIntensity: 0.9,
sunColor: SUN_LIGHT_COLOR,
sunIntensity: 2.8,
sunX: 60,
sunY: 80,
sunZ: 30,
sunIntensity: 2.2,
sunX: 70,
sunY: 45,
sunZ: 35,
};
export const AMBIENT_INTENSITY_MIN = 0;
+2 -1
View File
@@ -11,10 +11,11 @@ export function WorldPlane(): React.JSX.Element | null {
<mesh
name="world-plane"
position={[center[0], planeY, center[2]]}
receiveShadow
rotation={[-Math.PI / 2, 0, 0]}
>
<planeGeometry args={size} />
<meshBasicMaterial color={planeColor} />
<meshStandardMaterial color={planeColor} roughness={1} />
</mesh>
);
}