Jump to content

Multiple Texture layers on 1 side


Recommended Posts

Is this possible? I have seen a tutorial using Tesselator, but it's outdated. I have about 100 png-s with the snowed and iced block textures. Is there a way to replace them with something? E.g render a snow layer(1 png) to every block.

Link to comment
Share on other sites



Yes it's possible.  Use the Tessellator in a ISimpleBlockRenderingHandler.    Vanilla uses the Tessellator for nearly all the blocks, so you could copy that, or you could try to update the tutorial - it probably won't have changed much.  The main trick is to nudge your snow texture slightly so that it sits "on top" of the first texture, otherwise you will get weird banding effects where the two textures fight each other to get drawn on top.


Some background information on block rendering here



(see the "Block Rendering" sections).




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.

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.


  • Create New...

Important Information

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