Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix(city): tune lighting, ground reflectivity, and bloom for all presets
Adam Eivy6be40190558a
diff --git a/client/src/components/city/CityEffects.jsx b/client/src/components/city/CityEffects.jsxindex 2eae749072..e6200f8b74 100644--- a/client/src/components/city/CityEffects.jsx+++ b/client/src/components/city/CityEffects.jsx@@ -129,8 +129,8 @@ export default function CityEffects({ settings }) {const bloomPass = new UnrealBloomPass(new THREE.Vector2(size.width, size.height),bloomStrength,- 0.8,- 0.25+ 0.4, // radius — tighter glow around emissive elements+ 0.45 // threshold — only genuinely bright/emissive surfaces bloom);composer.addPass(bloomPass);}diff --git a/client/src/components/city/CityGround.jsx b/client/src/components/city/CityGround.jsxindex 0e10b82889..84f45ced17 100644--- a/client/src/components/city/CityGround.jsx+++ b/client/src/components/city/CityGround.jsx@@ -61,11 +61,13 @@ export default function CityGround({ settings }) {const preset = CITY_COLORS.timeOfDay[timeOfDay] ?? CITY_COLORS.timeOfDay.sunset;const groundColorTarget = useRef(new THREE.Color(preset.groundColor ?? '#0a0a20'));groundColorTarget.current.set(preset.groundColor ?? '#0a0a20');+ const targetRoughness = preset.groundRoughness ?? 0.7;useFrame((_, delta) => {if (!groundMatRef.current) return;const lf = Math.min(1, delta * 3);groundMatRef.current.color.lerp(groundColorTarget.current, lf);+ groundMatRef.current.roughness += (targetRoughness - groundMatRef.current.roughness) * lf;});const puddles = useMemo(() => {diff --git a/client/src/components/city/cityConstants.js b/client/src/components/city/cityConstants.jsindex 4b835d1e58..ab309eefd2 100644--- a/client/src/components/city/cityConstants.js+++ b/client/src/components/city/cityConstants.js@@ -36,13 +36,14 @@ export const CITY_COLORS = {sunScale: 1.0,isMoon: false,daylightFactor: 0.3,- groundColor: '#1a1a30',+ groundColor: '#2a2a40',+ groundRoughness: 0.7,// Hemisphere sky light (Unreal Engine "sky light" equivalent)hemiSkyColor: '#ff9966',- hemiGroundColor: '#1a1020',- hemiIntensity: 0.4,+ hemiGroundColor: '#2a1a30',+ hemiIntensity: 0.6,ambientColor: '#2a1a3a',- ambientIntensity: 0.18,+ ambientIntensity: 0.25,},noon: {hour: 12,@@ -57,12 +58,13 @@ export const CITY_COLORS = {sunScale: 0.7,isMoon: false,daylightFactor: 1.0,- groundColor: '#3a4055',- hemiSkyColor: '#aaccee',- hemiGroundColor: '#334455',- hemiIntensity: 2.0,- ambientColor: '#6688aa',- ambientIntensity: 0.5,+ groundColor: '#8090a5',+ groundRoughness: 0.45,+ hemiSkyColor: '#ccddee',+ hemiGroundColor: '#667788',+ hemiIntensity: 3.5,+ ambientColor: '#8899bb',+ ambientIntensity: 0.8,},sunset: {hour: 18,@@ -77,12 +79,13 @@ export const CITY_COLORS = {sunScale: 1.0,isMoon: false,daylightFactor: 0.2,- groundColor: '#151525',+ groundColor: '#1a1830',+ groundRoughness: 0.75,hemiSkyColor: '#ff6644',- hemiGroundColor: '#0a0a20',- hemiIntensity: 0.3,+ hemiGroundColor: '#151520',+ hemiIntensity: 0.4,ambientColor: '#1a1a3a',- ambientIntensity: 0.18,+ ambientIntensity: 0.2,},midnight: {hour: 0,@@ -98,6 +101,7 @@ export const CITY_COLORS = {isMoon: true,daylightFactor: 0.0,groundColor: '#0a0a20',+ groundRoughness: 0.85,hemiSkyColor: '#111122',hemiGroundColor: '#050508',hemiIntensity: 0.05,