Jump to content

Recommended Posts

Posted

Ok, my question is. Is it possible to code a block to utilize 2 textures as it's texture, in which one texture is of the original block preferably transparent, and the other being the texture of the block under it? Like if my basic texture of it is similar to grass minus the dirt, and the block under it is wood, it would make the side of my block look like grass growing on wood. I think similar to Thaumcraft taint on beehives.

Member of Aerotech Networks, a Multi-Gaming server.

Also Currently porting the "Rise of the Automatons" minecraft mod

Posted

Hi

 

Yes it is possible.  Personally I would use an ISimpleBlockRenderingHandler (a google on that keyword should get you plenty of tutorials) and render twice, first the underlying block then the tranparent.

 

However apparently it is also possible to do it using just vanilla pass 0 and pass 1, I've never done that personally.

Some more info here:

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

 

-TGG

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.