Jump to content

[1.12.2] Rendering layered texture from IBakedModel


BlackSun559

Recommended Posts

I am still trying to wrap my head around how things are rendered with the quads and such but what I have is a block that gets the texture of its source block, ex stone, and changes its own texture to match that akin to this tutorial by TheGreyGhost. Currently it works as it should but I am looking for a way to add a texture layer to the block like you would with the .json model layering to get a texture to appear on top face of the block but I don't know how to go about modifying the baked model or quads to get that to work right and was looking for some insight on how to get it to work or where to look to get an idea about it. Thanks for any help you can offer me!

I am fortifying this forum. - Papa Rogal

Link to comment
Share on other sites

Also followed that tutorial, but in my case I used as a guide the MBE5 block. Was more adequate to what I wanted to achieve.

Check this post, lot of great answers that helped me, hopefully they help you too also.

 

PS: What you actually want is only the top face of the block to adopt the texture, and not it as a whole?
 

 

Link to comment
Share on other sites

4 hours ago, American2050 said:

 

PS: What you actually want is only the top face of the block to adopt the texture, and not it as a whole?

Not exactly... I'm looking to make it take on the full texture of the block, but I want to be able to apply my own overlay onto the top face with the normal texture. Essentially if the block were camo'd as a block of iron or something I want it to look like iron on all faces but to be able to add a transparent overlay to the top face.

 

I haven't yet read the post you linked because I wanted to clarify what I was going for, but I'm going to take a look now and hopefully that helps some with what I'm trying to get working. Thanks!

I am fortifying this forum. - Papa Rogal

Link to comment
Share on other sites

Just as an update for anyone that looks I still haven't figured out how to make this work because I want it to be baked onto the model rather than being something that would have to constantly be rendered over and over just to save on processing power and the like. Being that it's going to be baked on it won't be animated or anything like that I just need to take a quad that is generated from any vanilla or modded normal block and merge it with a transparent layer to add to it to be baked on for rendering onto a specific face of the block. I just plain don't know enough about how to modify the models or quads to achieve the effect I am looking for.

I am fortifying this forum. - Papa Rogal

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.