Item getting darking if your looking up
Re: Item getting darking if your looking up
I Suppose its a mod and you try to render the item into the HUD? Well it's easy to explain one of the elements rendered before changes the lighting.
This code should fix the Item: RenderHelper.enableGUIStandardItemLighting();
If this isn't working try: GL11.glColor4f(1, 1, 1, 1);
Edit: Oh forgot that you can change the In Hand position
This code should fix the Item: RenderHelper.enableGUIStandardItemLighting();
If this isn't working try: GL11.glColor4f(1, 1, 1, 1);
Edit: Oh forgot that you can change the In Hand position

0 x
Last edited by JTK222 on 13 Nov 2016, 21:22, edited 1 time in total.
Re: Item getting darking if your looking up
This is how Minecraft shades items when held in the hand, you can see this will happen with any item when held in the hand.
There's no way to disable this, "shade" will only affect blocks placed in the world.
There is a workaround, as long as you don't need the gui icon, you can scale the item up in the gui and move in place of where the item will be rendered and set the scale of the item when in firstperson to 0 with the display settings.
There's no way to disable this, "shade" will only affect blocks placed in the world.
There is a workaround, as long as you don't need the gui icon, you can scale the item up in the gui and move in place of where the item will be rendered and set the scale of the item when in firstperson to 0 with the display settings.
0 x