Skip to content

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

fix: remove camera.far=500 that clipped the sky dome

Adam Eivy4fc506ebae9b
diff --git a/client/src/components/city/PlayerController.jsx b/client/src/components/city/PlayerController.jsx
index 7863307f73..18bce920ce 100644
--- a/client/src/components/city/PlayerController.jsx
+++ b/client/src/components/city/PlayerController.jsx
@@ -187,11 +187,6 @@ export default function PlayerController({
const camY = Math.max(0.5, playerPos.current.y + HEAD_HEIGHT + Math.sin(pitchRef.current) * CAMERA_DISTANCE);
const camZ = playerPos.current.z + Math.cos(yawRef.current) * Math.cos(pitchRef.current) * CAMERA_DISTANCE;
- // Ensure near plane is tight enough for street-level viewing
- camera.near = 0.1;
- camera.far = 500;
- camera.updateProjectionMatrix();
-
const targetCamPos = new THREE.Vector3(camX, camY, camZ);
camera.position.lerp(targetCamPos, CAMERA_LERP);