Jump to content

How exactly does "fancy grass" work?


Recommended Posts

I have very little experience with graphics programming, so sorry in advance if I'm missing something obvious :)


I'm looking for a way to "layer" multiple textures onto the same face of a block. From what I can tell grass in vanilla Minecraft already does this:





...with one texture (edited in the screenshot) being applied to the side of grass blocks, and a second texture (default in the screenshot) being colorized separately and then added on top of the first. Assuming I'm correct, how and where in the code does the texture combining happen? Otherwise, how exactly does "fancy grass" work?

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.