Skip to content

feat: Phase 5 post-processing — FilmGrain, ColorGrading, StarScintillation, DiskRotationParallax, JetLighting - #63

Merged
makr-code merged 4 commits into
mainfrom
copilot/improve-galaxy-and-game-experience
Apr 7, 2026
Merged

feat: Phase 5 post-processing — FilmGrain, ColorGrading, StarScintillation, DiskRotationParallax, JetLighting#63
makr-code merged 4 commits into
mainfrom
copilot/improve-galaxy-and-game-experience

Conversation

Copilot AI commented Apr 7, 2026

Copy link
Copy Markdown
Contributor

Completes all 5 remaining items from GALAXY_POSTPROCESS_ROADMAP.md Phase 5, bringing the full post-fx pipeline to 100% implementation.

New passes

Pass Shader Highlights
FilmGrainPass filmgrain.wgsl Luminance-weighted temporal hash noise; intensity / speed / size
ColorGradingPass colorgrading.wgsl Analytical LGG (Lift/Gamma/Gain): brightness, contrast, saturation, hueShift (YCbCr rotation)
StarScintillationPass starscintillation.wgsl Atmospheric twinkle; smoothstep luminance threshold masks effect to bright pixels; each star's coarsened-UV hash gives independent phase
DiskRotationParallaxPass diskrotationparallax.wgsl Keplerian differential rotation via UV-space warp; innerVelocityouterVelocity smooth falloff
JetLightingPass jetlighting.wgsl AGN jet glow — narrow Gaussian core + wide exponential penumbra per source; up to 4 sources via addJet / updateJet / removeJet

Engine integration

  • GameEngine._init — dynamic imports + opt-out pattern (opts.filmGrain !== false, etc.) consistent with existing passes
  • GameEngine.configurePostFx — runtime param update for all 5 new passes
  • PostFxControllerPARAM_META slider ranges, _bindAll, _syncFromEngine extended for all 5
  • index.js — exports FilmGrainPass, ColorGradingPass, StarScintillationPass, DiskRotationParallaxPass, JetLightingPass, MAX_JET_SOURCES

Tests

114 new unit tests across 5 files; all passing. Pre-existing 6 failures in realtime-sync-world-event.test.js are unrelated.

Copilot AI and others added 3 commits April 7, 2026 12:28
Agent-Logs-Url: https://github.com/makr-code/GalaxyQuest/sessions/82bc7fb2-b48d-4fb1-a64f-1c8846fd7452

Co-authored-by: makr-code <150588092+makr-code@users.noreply.github.com>
…ss with WGSL shaders and tests

Agent-Logs-Url: https://github.com/makr-code/GalaxyQuest/sessions/f69725a1-abe3-41f8-b62d-2217a7b9943d

Co-authored-by: makr-code <150588092+makr-code@users.noreply.github.com>
…arScintillationPass, DiskRotationParallaxPass, JetLightingPass

Agent-Logs-Url: https://github.com/makr-code/GalaxyQuest/sessions/41796c44-c892-4ed3-b17a-cfdbd156b0c2

Co-authored-by: makr-code <150588092+makr-code@users.noreply.github.com>
@makr-code
makr-code marked this pull request as ready for review April 7, 2026 14:49
@makr-code
makr-code merged commit 09b2c9d into main Apr 7, 2026
1 check passed
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.

2 participants