Skip to content

Schedule VR shadow-map updates - #4

Merged
reality2-roycdavies merged 1 commit into
mainfrom
agent/schedule-vr-shadow-updates
Jul 24, 2026
Merged

reality2-roycdavies merged 1 commit into
mainfrom
agent/schedule-vr-shadow-updates

Conversation

@reality2-roycdavies

Copy link
Copy Markdown
Owner

Summary

  • schedule sun-shadow map redraws only in WebXR, leaving desktop rendering unchanged
  • redraw at 24 Hz while moving and 8 Hz while stationary, with immediate invalidation for terrain/chunk changes
  • add focused scheduler tests and bump the browser cache version to VR Forest v18

Validation

  • npm test — 215 tests passed
  • node --check on the entry point, scheduler, and scheduler tests
  • git diff --check
  • headless production-style browser load fetched the complete module graph, including main.js?v=205 and shadow-scheduler.js?v=205; WebGL2 rendering remains unavailable in this headless environment

Headset quality checkpoint

After deployment, verify that tree and ground shadows do not visibly step or lag while walking, weather/time lighting remains smooth while stationary, and shadows appear immediately as new terrain chunks load.

@reality2-roycdavies
reality2-roycdavies marked this pull request as ready for review July 24, 2026 00:37
@reality2-roycdavies
reality2-roycdavies merged commit dddc83e into main Jul 24, 2026
1 check passed
@reality2-roycdavies
reality2-roycdavies deleted the agent/schedule-vr-shadow-updates branch July 24, 2026 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant