feat(renderer): add HDR glare and light-source sprites #999

Merged
SakulFlee merged 2 commits from feat/bloom-hdr-sources into main 2026-10-30 22:24:48 +00:00
Owner

Summary

  • Add exposure and bloom/glare settings driven by RenderSettings and exposed in the Rendering debug panel.
  • Sample a compact HDR glare kernel in the tonemap pass, so Off, FXAA, and SMAA all receive bloom while 2D/UI/text remain outside the post chain.
  • Add HDR radial glow sprites at the all-in-one spotlight and point lights, and enable bloom for that example.

Notes

  • Glare is intentionally implemented in the existing tonemap pass to avoid another full-resolution post-chain target.
  • The all-in-one spotlight glow follows the animated light position.
  • Validate the visual tuning on a GPU; the headless tests cover shader compilation and tonemap parameter packing only.
## Summary - Add exposure and bloom/glare settings driven by `RenderSettings` and exposed in the Rendering debug panel. - Sample a compact HDR glare kernel in the tonemap pass, so Off, FXAA, and SMAA all receive bloom while 2D/UI/text remain outside the post chain. - Add HDR radial glow sprites at the all-in-one spotlight and point lights, and enable bloom for that example. ## Notes - Glare is intentionally implemented in the existing tonemap pass to avoid another full-resolution post-chain target. - The all-in-one spotlight glow follows the animated light position. - Validate the visual tuning on a GPU; the headless tests cover shader compilation and tonemap parameter packing only.
feat(all-in-one): add HDR light-source sprites
All checks were successful
Lint / lint (pull_request) Successful in 1m31s
PR / test (pull_request) Successful in 6m8s
Templates / templates (pull_request) Successful in 4m39s
db980990b9

Smart test results

Result: PASS

Scope: orbital_app, orbital_debug_ui, orbital_renderer

Reason: directly changed crates

Elapsed: 5m 35s

Workflow run

Overall: 79 tests, 77 passed, 0 failed, 2 skipped

Nextest: 77 tests, 77 passed, 0 failed, 0 skipped
Doctests: 2 tests, 0 passed, 0 failed, 2 skipped

Outcome charts are split between nextest and doctests. The timing chart covers nextest only.

Crate Nextest Passed Failed Skipped Doctests Time
orbital_app 10 10 0 0 0/1 0.13s
orbital_debug_ui 48 48 0 0 0/1 0.56s
orbital_renderer 19 19 0 0 - 0.38s
pie showData
    title Nextest outcomes
    "Passed" : 77
pie showData
    title Doctest outcomes
    "Skipped" : 2
xychart-beta
    title "Slowest crates (nextest seconds)"
    x-axis ["orbital_debug_ui", "orbital_renderer", "orbital_app"]
    y-axis "Seconds" 0 --> 1
    bar [0.56, 0.38, 0.13]
<!-- orbital-ci-test-results --> ## Smart test results **Result:** PASS **Scope:** orbital_app, orbital_debug_ui, orbital_renderer **Reason:** directly changed crates **Elapsed:** 5m 35s [Workflow run](https://forgejo.sakul-flee.de/SakulFlee/Orbital/actions/runs/923) **Overall:** 79 tests, 77 passed, 0 failed, 2 skipped **Nextest:** 77 tests, 77 passed, 0 failed, 0 skipped **Doctests:** 2 tests, 0 passed, 0 failed, 2 skipped _Outcome charts are split between nextest and doctests. The timing chart covers nextest only._ | Crate | Nextest | Passed | Failed | Skipped | Doctests | Time | | --- | ---: | ---: | ---: | ---: | ---: | ---: | | orbital_app | 10 | 10 | 0 | 0 | 0/1 | 0.13s | | orbital_debug_ui | 48 | 48 | 0 | 0 | 0/1 | 0.56s | | orbital_renderer | 19 | 19 | 0 | 0 | - | 0.38s | ```mermaid pie showData title Nextest outcomes "Passed" : 77 ``` ```mermaid pie showData title Doctest outcomes "Skipped" : 2 ``` ```mermaid xychart-beta title "Slowest crates (nextest seconds)" x-axis ["orbital_debug_ui", "orbital_renderer", "orbital_app"] y-axis "Seconds" 0 --> 1 bar [0.56, 0.38, 0.13] ```
SakulFlee referenced this pull request from a commit 2026-10-30 22:24:50 +00:00
Sign in to join this conversation.
No description provided.