Jump to content

Wood, Leaves..... What happened to the leaves?


mathiasrocker

Recommended Posts

Hi I'm have a little problem with the leaves,

Textures and that are also no problem but when i look through it is like i see through all the other block that are placed within!

 

IDK how to fix it.

Can you help me?

 

Code:

https://gist.github.com/anonymous/5704e74510b340d0a706

(i did not put in the package and imports because that will explain what I'm doing.

If it's the imports fail then I'm sen you that too)

Link to comment
Share on other sites

Hi

 

Just a random guess based on a very similar problem I had rendering other blocks

Block.isOpaqueCube needs to return false.  I don't have access to my coding PC at the moment so I can't check if BlockLeavesBase does that already...

 

see also here... might be some help -

http://greyminecraftcoder.blogspot.com.au/2013/07/rendering-transparent-blocks.html

 

-TGG

 

 

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.