Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[1.16] How to overlay textures ?


Recommended Posts

This may be a simple question, but how do I stack two TextureAtlasSprites A and B to generate a new TextureAtlasSprite? In other words, the base A is overwritten with pixels other than the transparent part of B.

Link to post
Share on other sites

Looking at the ItemLayerModel, it seems that each pixel of the texture is overwritten and generated as a quad, but in the ItemModelGenerator rendering the spawnegg item, simply add the quad of the upper layer to the quad of the lower layer. It looks like it's being returned in a list. Is the transparent part overwritten just by adding a Quad with the same shape but a different texture later, like the latter?

Link to post
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.

Guest
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 Privacy Policy.