fix(navara): disable redundant sun shadows in minimal look

Minimal inherited the sun light default of castShadow=true although the photoreal tiles carry baked lighting. Use the same no-shadow sun configuration as cinematic. The focused 3-run city gate improved from C4.6/N5.1 ms (1.1087) to C4.6/N4.9 ms (1.0652) with 12000 vessels. Full Node 24 tests and allocation gates, boundaries, format, build and panel build pass.
This commit is contained in:
German Khokhlov committed 2026-10-22 13:38:22 +04:00
1 parent c8a4f3ed98
commit 83fbe6949f
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -204,7 +204,8 @@ const PLANS = {
minimal: () => ({
pluginDefault: false,
meshes: [{ sky: {} }, { stars: {} }],
lights: [{ skyLightProbe: {} }, { sun: {} }],
// Match cinematic: Google tiles already carry baked sunlight.
lights: [{ skyLightProbe: {} }, { sun: { castShadow: false } }],
effects: [],
globeLighting: false,
atmosphereLuminance: 1,
+1 -1
View File
@@ -70,7 +70,7 @@ test('cinematic is the default look; photoreal is the default plugin scene; mini
assert.deepEqual(navaraScenePlan('minimal'), {
pluginDefault: false,
meshes: [{ sky: {} }, { stars: {} }],
lights: [{ skyLightProbe: {} }, { sun: {} }],
lights: [{ skyLightProbe: {} }, { sun: { castShadow: false } }],
effects: [],
globeLighting: false,
atmosphereLuminance: 1,