Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Hello,

I made my custom multiblock (4 blocks tall, 2 blocks wide, 1 block deep) model with custom texture.
But there is something weird happening with the shadow on the upper section.

There is a clear color change between blocks.
The following screenshot shows a difference in brown color when the texture is actually all the same brown.

Each custom block has its own override of 'getShape' that returns the correct VoxelShape as I can see the edge of the microblocks highlighted correctly.

My blocks all use the same properties:
 

    public static final BlockBehaviour.Properties BODY_BLOCK_PROPERTIES = BlockBehaviour.Properties
            .of(Material.HEAVY_METAL, MaterialColor.TERRACOTTA_BROWN)
            .strength(-1.0F, 3600000.0F)
            .noDrops()
            .noOcclusion()
            .lightLevel(s -> 2)
            .sound(SoundType.METAL);

zyIW1rB.png

if you're lucky, you just forgot a row saying    "shade": false,         in one of the model jsons. check that first.

  • Author

I am using BlockBench to make my model.

Is there a way to change the shade setting for all blocks in it, or do I have to do it manually for each element in the json files?

  • Author

Never mind, I found it.
It it the small star on the block property that controls it.
Thanks for your help :)

Edited by Ideki

  • Author

Hum no, that did not change anything.
I can still see the difference in colors.

  • Author

Ok, I think I understand what is going on.
I seems that it gets the light from a nearby light source I placed and that triggers the shadow.

So I guess it is solved, just not in a way I would like.
But still works.

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...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.