Jump to content

[1.7.10] IItemRenderer transparent texture rendering as solid black


Morgrimm

Recommended Posts

I've been trying to render a translucent texture in for my item, but no matter how I color it, or what setting I try to use, it always renders solid black instead of tinted like it should be. Anyone have an idea for a fix?

 

Code: http://pastebin.com/UVp9xvaV

 

Here's an image of the item as it renders now (the black shape should be a tinted eye): http://imgur.com/zqOyNFT

 

Thanks in advance :D

Link to comment
Share on other sites

if the problem is the item in slot 1

then take a good look at it

it is rendering transparencies (look at to outside shape)

check your transparency on the inside bit, 

if it has a slight opacity it will render as fully opaque

 

the only items i have ever seen in the game with opacity are all blocks

and they use

    @SideOnly(Side.CLIENT)
    public int getRenderBlockPass()
    {
        return 1;
    }

to do that, but i dont know how you would for an item,  that is if it is possible

 

 

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.