Skip to content

Commit

Permalink
Fix lighting on center cube
Browse files Browse the repository at this point in the history
  • Loading branch information
hlysine committed Mar 2, 2025
1 parent 6e082cd commit 77eb9fc
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ public void renderInContraption(MovementContext context, VirtualRenderWorld rend
.rotateZ(shouldFunction ? angle : 0)
.uncenter()
.light(light)
.useLevelLight(context.world, matrices.getWorld())
.renderInto(matrices.getViewProjection(), buffer.getBuffer(RenderType.cutoutMipped()));
}
}

0 comments on commit 77eb9fc

Please sign in to comment.