This PR moves entityRenderer inside of worldRenderer for flexible control over rendering order.
Rendering entities is encoded after drawing focused block outline, but before translucent geometry rendering for correct alpha blending behaviour.
Fixes #123
Profiled and tested on latest release and beta versions of macOS (Monterey / Ventura respectively).
Type of change
Please delete options that are not relevant.
[x] Bug fix (non-breaking change which fixes an issue)
Checklist:
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation comments
Description
This PR moves
entityRenderer
inside ofworldRenderer
for flexible control over rendering order. Rendering entities is encoded after drawing focused block outline, but before translucent geometry rendering for correct alpha blending behaviour.Fixes #123
Profiled and tested on latest release and beta versions of macOS (Monterey / Ventura respectively).
Type of change
Please delete options that are not relevant.
Checklist: