Jump to content

[Solved] [1.10.2] Transparent layered BakedModel


oa10712

Recommended Posts

Hello once again. Some additional progress has been made, but i am now stuck with a transparency issue. 

http://prntscr.com/f6eksl

I am using BakedModels and am attempting to layer textures by having several quads on top of each other.

Here is my model code: https://github.com/16ColorGames/SuperTechTweaks/blob/IBakedModels/src/main/java/com/sixteencolorgames/supertechtweaks/render/OreBakedModel.java, and the rest of the code is also available through github.

 

If I swap the order that I create the quads, then the stone texture is displayed but the ore texture is completely blocked out.

Edited by oa10712
Link to comment
Share on other sites

You need to use CUTOUT layer for that.

More information about layers, great article from TGG:

http://greyminecraftcoder.blogspot.kr/2014/12/block-rendering-18.html?m=1

Even though it was written for 1.8, it shouldn't be changed much.

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

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.