feat(renderer): add bloom, glare, and exposure controls #985

Closed
opened 2026-10-30 01:50:39 +00:00 by SakulFlee · 1 comment
Owner

Summary

Add bloom/glare (and the related exposure controls) so bright HDR sources produce a convincing “blinding” effect.

The renderer currently tonemaps the HDR scene directly. Even if a light source is extremely bright, there is no bloom or glare, so looking into a spotlight does not produce the expected visual overload.

Bloom scope

  • Threshold and knee controls.
  • Downsample/upsample blur chain in HDR before tonemapping (or a documented LDR alternative).
  • Intensity and tint controls.
  • Per-light/source contribution where practical.
  • Interaction with SMAA/FXAA/TAA: bloom should happen before the AA pass and not smear UI/2D.
  • Performance budget and noop pipeline validation.

Exposure scope

  • Manual exposure control in RenderSettings/debug UI.
  • Optional eye adaptation/auto-exposure using a luminance estimate.
  • Preserve current default appearance when the feature is disabled.

Acceptance criteria

  • Emissive/HDR light sources visibly glow.
  • Looking directly into a bright source produces a convincing glare effect.
  • Bloom can be disabled and has no effect when off.
  • Exposure can be adjusted at runtime.
  • Works with Off/FXAA/SMAA and does not affect 2D/UI/text sharpness.
  • Noop tests validate the added pipelines and target formats.
  • #984 — HDR light source sprites
  • #971 — debug UI audit
## Summary Add bloom/glare (and the related exposure controls) so bright HDR sources produce a convincing “blinding” effect. The renderer currently tonemaps the HDR scene directly. Even if a light source is extremely bright, there is no bloom or glare, so looking into a spotlight does not produce the expected visual overload. ## Bloom scope - Threshold and knee controls. - Downsample/upsample blur chain in HDR before tonemapping (or a documented LDR alternative). - Intensity and tint controls. - Per-light/source contribution where practical. - Interaction with SMAA/FXAA/TAA: bloom should happen before the AA pass and not smear UI/2D. - Performance budget and noop pipeline validation. ## Exposure scope - Manual exposure control in `RenderSettings`/debug UI. - Optional eye adaptation/auto-exposure using a luminance estimate. - Preserve current default appearance when the feature is disabled. ## Acceptance criteria - Emissive/HDR light sources visibly glow. - Looking directly into a bright source produces a convincing glare effect. - Bloom can be disabled and has no effect when off. - Exposure can be adjusted at runtime. - Works with Off/FXAA/SMAA and does not affect 2D/UI/text sharpness. - Noop tests validate the added pipelines and target formats. ## Related - #984 — HDR light source sprites - #971 — debug UI audit
Author
Owner

Implemented and verified through the HDR glare/exposure work (PRs #999, #1000, #1003, #1005). Closing.

Implemented and verified through the HDR glare/exposure work (PRs #999, #1000, #1003, #1005). Closing.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
SakulFlee/Orbital#985
No description provided.