Skip to content

[HIGH] Stabilize sun shadows on LOW preset (camera-angle morphing) #278

@MichaelFisher1997

Description

@MichaelFisher1997

Problem

Shadowing still morphs with camera angle (especially low sun) and shows moving red/green contour bands in debug view.

Scope

Deliver a stability-first shadow baseline for LOW without deep architectural rewrites.

Acceptance Criteria

  • Flat world + low sun + camera yaw/pitch sweep does not produce moving contour wedges/bands.
  • G debug shadow view remains stable when rotating in place.
  • LOW preset honors shadow_cascade_blend as configured.
  • No camera-space fade hacks in shader that create view-dependent shadow intensity ramps.
  • Keep existing non-shadow rendering behavior unchanged.

Proposed Tasks

  1. Normalize LOW shadow policy (explicit mode flags, no implicit behavior from sample count).
  2. Remove/replace view-depth low-sun attenuation hacks in terrain shadow path.
  3. Validate cascade blend behavior and thresholds for LOW.
  4. Add reproducible validation scenario (flat world + tower + low sun camera sweep).

Related Issues

Execution Order

  • Do this issue first before deeper shadow refactors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or requestquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions