From 300ebac68a229abc0d274b8472b8e9cffdad3718 Mon Sep 17 00:00:00 2001 From: LucaP Date: Sat, 10 Oct 2026 20:31:16 +0300 Subject: [PATCH] fix(scene): keep the lens fixed through exit cuts so signs hold their placement --- src/scene/world/environment.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scene/world/environment.ts b/src/scene/world/environment.ts index 417b048..6d8ad27 100644 --- a/src/scene/world/environment.ts +++ b/src/scene/world/environment.ts @@ -559,7 +559,7 @@ export async function createProceduralSceneGeneration( ); camera.rotation.z += cameraState.roll * crane; const lensFov = - THREE.MathUtils.lerp(30, cameraState.fov, crane) + cut * 6; + THREE.MathUtils.lerp(30, cameraState.fov, crane); if (Math.abs(camera.fov - lensFov) > 0.001) { camera.fov = lensFov; camera.updateProjectionMatrix();