Posted February 20, 20223 yr 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);
February 20, 20223 yr if you're lucky, you just forgot a row saying "shade": false, in one of the model jsons. check that first.
February 20, 20223 yr 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?
February 20, 20223 yr Author Never mind, I found it. It it the small star on the block property that controls it. Thanks for your help :) Edited February 20, 20223 yr by Ideki
February 20, 20223 yr Author Hum no, that did not change anything. I can still see the difference in colors.
February 20, 20223 yr 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.