Problem with PoseStack & Depth test rendering order #2952
Unanswered
tennox
asked this question in
Mod Dev Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm working on CustomSelectionBox mod, and encountered a bug where in F5, the box is rendered above the player (it should be behind)
I'm using PoseStack to push and pop a RenderType I create like this (the code is simplified - see full source:
I thought this strategy with push and pop should reset all rendering states, but somehow it seems to affect other parts of minecraft rendering :sadcowboy:
Sometimes I got even weirder rendering issues (but those are not easily reproducible, but maybe related):
https://gitlab.com/tennox-mods/CustomSelectionBox/uploads/3fecc1066dfc2496edd73228722619ab/2023-02-24_18.58.08.png
I'd be grateful about any pointer what I might be doing wrong 😅
All reactions