I created a stair, but such a shadow appeared inside (see 1 photo). I tried to turn on soft lighting in the settings, it did not help. I set the getLightOpacity line to 0, the problem went away, but the block became semi-transparent. I don't need the block to show through. As far as I understand, parts of the block need to be rendered separately. That is, I need the part that is circled in red in 2 photos in order for it to transmit light, and the part that is green, that is, the step itself, should not transmit light at all. So tell me how can this be done? I'm not good at programming and don't know how the code should look for it to work. There is no such information on the Internet at all.