The main menu, drawn by Scenes and Windows.

Scenes, Sprites & Windows

Optional HDR Light Accumulation for the WebGL1 Overlay

reactor_hdr_overlay.js · 594 lines · 0 public functions

The main menu, drawn by Scenes and Windows.

What This Module Does

Built into RPG Reactor. See docs/HDR-EFFECT-OVERLAY.md for asset/config contracts. No targets or programs are allocated until an opted-in animation starts.

Classes & Namespaces

Design Notes from the Source Code

Built into RPG Reactor. See docs/HDR-EFFECT-OVERLAY.md for asset/config contracts. No targets or programs are allocated until an opted-in animation starts.

Two globals: ReactorHdrRenderer is the light pipeline itself (float targets, bloom, one grade, the composite), one instance per WebGL1 context and free of game state, so the editor's previews run the same code. ReactorHdrOverlay is the game's adapter: sidecar requests, animation selection, the fallback twin and the overlay canvas.

View reactor_hdr_overlay.js on GitHub · Show internal (_) functions