Frinn38 / Custom-Machinery

A Minecraft Mod about creating custom machines that works
GNU Lesser General Public License v3.0
45 stars 17 forks source link

Weird shadow on machines #30

Closed jamesjimmy88 closed 3 years ago

jamesjimmy88 commented 3 years ago

Machines project a very noticeable shadow on adjacent machines - the shadow doesn't go away even after placing a light source directly on the affected machines; this issue only affects machine blocks that are facing south. This happens both for dummy machines, machines using a block field for their appearance and machines using a custom model. 2021-08-13_17 11 37 2021-08-13_17 13 11 Edit: forgot to specify versions: Tested on version 0.4.6 on Forge 36.2.2

Frinn38 commented 3 years ago

I'm aware of this bug, I spent hours trying to fix it before giving up... Someday I will try again but since it happen only when the machine facing is south and ambient occlusion (smooth lightning) is on this is not a priority.

Frinn38 commented 3 years ago

"""Fixed""" in 0.4.7, I disabled Ambient Occlusion for the machine so no weird shadows but no shadow at all. I know ths solution is far from perfect but all I tried didn't work and fixing that will require a very precise knowledge about the minecraft model render engine and a lot of maths...