feat(renderer): add HDR light source sprites #984

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

Summary

Render visible HDR light-source sprites at punctual light positions.

The renderer currently lights surfaces and volumetrics from spot/point/directional lights, but there is no visible emissive source object. Looking into a spotlight therefore produces fog scattering without the bright source/glare that a real lamp would show.

Scope

  • A small emissive source representation for point and spot lights, positioned at the light origin.
  • Color and HDR intensity derived from the light descriptor.
  • Optional per-light source radius/size and visibility flag.
  • Source geometry must not cast shadows.
  • Spot sources should be visible from inside/outside the cone; directional lights have no positional source.
  • Keep this separate from volumetric scattering and from bloom.
  • Expose the source intensity/size through the debug UI where practical.

Acceptance criteria

  • Spot and point lights can show a visible HDR source.
  • Looking into a source produces a bright HDR value before tonemapping.
  • The source does not affect lighting calculations or shadow maps.
  • The feature can be disabled per light or globally.
  • Noop/pipeline tests cover the new resources.
  • #971 — debug UI audit
  • Bloom/glare issue
## Summary Render visible HDR light-source sprites at punctual light positions. The renderer currently lights surfaces and volumetrics from spot/point/directional lights, but there is no visible emissive source object. Looking into a spotlight therefore produces fog scattering without the bright source/glare that a real lamp would show. ## Scope - A small emissive source representation for point and spot lights, positioned at the light origin. - Color and HDR intensity derived from the light descriptor. - Optional per-light source radius/size and visibility flag. - Source geometry must not cast shadows. - Spot sources should be visible from inside/outside the cone; directional lights have no positional source. - Keep this separate from volumetric scattering and from bloom. - Expose the source intensity/size through the debug UI where practical. ## Acceptance criteria - Spot and point lights can show a visible HDR source. - Looking into a source produces a bright HDR value before tonemapping. - The source does not affect lighting calculations or shadow maps. - The feature can be disabled per light or globally. - Noop/pipeline tests cover the new resources. ## Related - #971 — debug UI audit - Bloom/glare issue
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#984
No description provided.