fix: make nightdrive signage reliable and legible

This commit is contained in:
2026-09-03 17:07:00 +03:00
parent 4404c07f93
commit b075041918
50 changed files with 4435 additions and 200 deletions

View File

@@ -100,6 +100,7 @@ export async function createProceduralSceneGeneration(
await prepareSignTypography(context.signal);
const sign = createSign(context.resources, {
maximumAnisotropy: renderer.capabilities.getMaxAnisotropy(),
maximumTextureSize: renderer.capabilities.maxTextureSize,
});
const atmosphere = createAtmosphere(context.resources, quality);
scene.add(
@@ -228,7 +229,7 @@ export async function createProceduralSceneGeneration(
response.bloomEnergy,
);
car.update(visualSpeed, response.suspensionEnergy, elapsedSeconds);
sign.update(snapshot.sign);
sign.update(snapshot.sign, now);
atmosphere.update(
driveDistance,
visualSpeed,
@@ -310,6 +311,7 @@ export async function createProceduralSceneGeneration(
direction: snapshot.direction,
...presentation,
rendererPixelRatio: renderer.getPixelRatio(),
viewport: { width, height },
},
}));
}