Ambient light actors #49

Open
UnflavoredMeson/Primal_Plus_Plus
opened 2026-11-24 20:16:03 +00:00 by UnflavoredMeson · 0 comments
Owner

Why

Without an ambient light, scenes have only direct light. The engine has the component; the editor needs a way to pick its IBL textures.

Decided

  • An Add Actor entry for the ambient light part; texture asset inputs for its diffuse and specular cube maps and the BRDF LUT (from the default assets), stored as GUIDs in the editor and content ids in the component.
  • One ambient light per light set.

Read first

  • UnflavoredMeson/Primal#64.

Steps

  • 1. Add the texture inputs to the details panel.
  • 2. Enforce one ambient light per light set, with a message.

Done when

  • A scene with an ambient light renders with IBL on both backends (you check); 0 warnings; tidy 0.

Claude can help with

  • The default BRDF LUT asset.

Learn

  • What the split-sum approximation splits.
## Why Without an ambient light, scenes have only direct light. The engine has the component; the editor needs a way to pick its IBL textures. ## Decided - An Add Actor entry for the ambient light part; texture asset inputs for its diffuse and specular cube maps and the BRDF LUT (from the default assets), stored as GUIDs in the editor and content ids in the component. - One ambient light per light set. ## Read first - `UnflavoredMeson/Primal#64`. ## Steps - [ ] 1. Add the texture inputs to the details panel. - [ ] 2. Enforce one ambient light per light set, with a message. ## Done when - [ ] A scene with an ambient light renders with IBL on both backends (you check); 0 warnings; tidy 0. ## Claude can help with - The default BRDF LUT asset. ## Learn - What the split-sum approximation splits.
Sign in to join this conversation.
No assignees
No project
Depends on
#28 ContentTools on both OSes
UnflavoredMeson/Primal_Plus_Plus
#46 Outliner, details, gizmos, undo and redo
UnflavoredMeson/Primal_Plus_Plus
Notifications
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
UnflavoredMeson/Primal_Plus_Plus#49
No description provided.