add proper lighting #115

Open
opened 2026-09-12 17:39:56 +02:00 by thetxt · 0 comments
Owner

add a proper lighting engine to fix the extremly botched current implementation.
Just some things that are currently borked af (not guaranteed to be exhaustive:

  • skylight only gets set to 15 or 0 depending on if sky is visible or not
  • blocklight gets only updated when new light source is placed
  • blocklight updates dont happen uniformly in all directions
  • placing a new intransparent block or removing light doesnt update anything
add a proper lighting engine to fix the extremly botched current implementation. Just some things that are currently borked af (not guaranteed to be exhaustive: - skylight only gets set to 15 or 0 depending on if sky is visible or not - blocklight gets only updated when new light source is placed - blocklight updates dont happen uniformly in all directions - placing a new intransparent block or removing light doesnt update anything
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
thetxt/oxide#115
No description provided.