mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 19:04:02 +00:00
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:
1 parent
c8a4f3ed98
commit
83fbe6949f
2 files changed
+3
-2
No files matched your search
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user