Posted August 7, 20187 yr How to draw a black rectangle in the code and overlay it in half (vertically) the texture? And how to regulate its transparency?
August 7, 20187 yr If you're running your code in a Gui or child class there are methods for drawing rectangles. For transparency that can be the alpha value in the color, but you may also need to set the blend mode using GlStateManager. Check out my tutorials here: http://jabelarminecraft.blogspot.com/
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.