Romsik788 Posted August 7, 2018 Posted August 7, 2018 How to draw a black rectangle in the code and overlay it in half (vertically) the texture? And how to regulate its transparency? Quote
jabelar Posted August 7, 2018 Posted August 7, 2018 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. Quote Check out my tutorials here: http://jabelarminecraft.blogspot.com/
Recommended Posts
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.