Add Multiple Light Support #19

Open
opened 2026-01-18 14:18:52 +00:00 by akadmin · 0 comments
Owner

Description:
Implement point lights and directional lights with proper light accumulation in PBR shader.
Tasks:

  • Create Light struct (position, color, intensity, type)
  • Add uniform buffer for light array
  • Update fragment shader to loop over lights
  • Implement point light attenuation
  • Implement directional light (infinite distance)
  • Add shadows support structure (prepare for future)
  • Create light manager/system
  • Test with multiple colored lights

Acceptance Criteria:

Multiple lights affect surfaces correctly
Point lights attenuate with distance
Directional lights illuminate uniformly
Light colors blend properly

Related Issues: Depends on #17
Estimated Time: 2-3 days

Description: Implement point lights and directional lights with proper light accumulation in PBR shader. Tasks: - [ ] Create Light struct (position, color, intensity, type) - [ ] Add uniform buffer for light array - [ ] Update fragment shader to loop over lights - [ ] Implement point light attenuation - [ ] Implement directional light (infinite distance) - [ ] Add shadows support structure (prepare for future) - [ ] Create light manager/system - [ ] Test with multiple colored lights Acceptance Criteria: Multiple lights affect surfaces correctly Point lights attenuate with distance Directional lights illuminate uniformly Light colors blend properly Related Issues: Depends on #17 Estimated Time: 2-3 days
Sign in to join this conversation.
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
akadmin/NemesisEngine#19
No description provided.