How enable depth buffer for DrawableContext? #4035
Unanswered
AirDead
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
-
Description
I`m drawing with DrawableContext on 1.20.1 and i need make element who have stroke for transparent element.
I decided to make it all rectangles, which will be slightly larger than the main ones and will be, as it were, edging. To do this, I need to place the main element into a rectangle that acts as a stroke. I was told that I should enable the depth buffer, but I don’t quite understand how to enable it and how to render with it?
Beta Was this translation helpful? Give feedback.
All reactions