Skip to content

fix webgl memory leaks and shader perf#265

Open
parkan wants to merge 9 commits intoMoving-Castles:mainfrom
parkan:ui-leak-fixes
Open

fix webgl memory leaks and shader perf#265
parkan wants to merge 9 commits intoMoving-Castles:mainfrom
parkan:ui-leak-fixes

Conversation

@parkan
Copy link
Contributor

@parkan parkan commented Jan 19, 2026

fixes console.log memory leaks in webgl package, adds shader LOD for mobile perf

changes:

  • replace console.* with conditional logger (disabled by default)
  • add time-gated LOD to trip-processing shader
  • skip madness layer on mobile via u_quality uniform
  • 30fps on mobile, 60fps on desktop

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