Jump to content

Recommended Posts

Posted

I have created some working smart baked models, but they all have the same strange bug. In most chunks (16x16x16 chunks, not 16x16 from world height to bedrock) the model renders very dark. The texture is still rendered if you look closely, but incredibly darkly. Every time any block in one of those chunks that is working is changed (even a block not touching the baked model blocks) the chunk changes to be broken. Every time I close and re-open the world, which chunks are broken resets and changes, each time to a seemingly random pattern. Here are a couple of screenshots to demonstrate:

 

 

  Reveal hidden contents

 

 

And this is the code for the baked model itself:

 

  Reveal hidden contents

 

  • 2 months later...
  • 4 months later...
Posted

Hi, just poking around with the same model in 11.2 to make it work, I had to add the line:

builder.setApplyDiffuseLighting(false);

after the line

builder.setTexture(sprite);

Hope that helps

 

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.