fix(scene): drop the first-frame precompile; record round 4 test evidence

This commit is contained in:
2026-10-10 21:05:00 +03:00
parent 8044ad88e3
commit 48a3413ebc
2 changed files with 19 additions and 6 deletions

View File

@@ -514,10 +514,6 @@ export async function createProceduralSceneGeneration(
if (introProgress === null) {
introProgress =
snapshot.activeSectionId === 'start' && snapshot.scrollY < 40 ? 0 : 1;
// The crane opens on the sky, so the road, car and roadside would
// otherwise compile their shaders mid-drive when they first enter the
// frame. Compile every visible object now, as the chase framing would.
if (introProgress === 0) renderer.compile(scene, camera);
}
if (introProgress < 1) {
// The shot belongs to a visitor who waits at the top. Scrolling,