Item getting darking if your looking up

Get help and support for using Cubik Studio.

Re: Item getting darking if your looking up

Post by epicskymi » 13 Nov 2016, 04:31

bump still not fixed
x
User avatar
epicskymi
Early Adopter
Posts: 17
Joined: 02 Nov 2016, 02:30

Re: Item getting darking if your looking up

Post by JTK222 » 13 Nov 2016, 08:55

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 :D
x
Last edited by JTK222 on 13 Nov 2016, 21:22, edited 1 time in total.
User avatar
JTK222
Supporter
Posts: 51
Joined: 02 Nov 2016, 08:35

Re: Item getting darking if your looking up

Post by Geenium » 13 Nov 2016, 14:14

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.
x
User avatar
Geenium
Early Adopter
Posts: 32
Joined: 19 Mar 2014, 12:04

Post Reply

Return to “Help Centre”