[Legacy] GeckoLib Fabric

[Legacy] GeckoLib Fabric

3M Downloads

[1.20.1] Entity model has incorrect lighting (Geckolib 4.4.2)

AuroralFlame opened this issue ยท 1 comments

commented

In in-game rendering, when lighting is applied to a model, it seems to ignore the rotation angles of its groups or bones.

1.The model I created in Blockbench is like this: place the "cube" bone in the "Base" group and rotate them 90 degrees around the Z-axis
a
2.The "cube" bone looks like this when not setting a rotation angle for its group.
b
3.When I imported it as a Entity model into the game, the lighting of the model seemed to be abnormal.
The lighting in the game did not seem to set shadows in the direction of the final rotation, but ignored the rotation of the group and bones, only giving lighting in the "cube" state without rotation.
c
The shadow I am looking forward to should be like Figure 1, with the green side being the directly illuminated side.
I'm not sure if this is an issue with GeckoLib or a rendering issue with version 1.20.1.
The above model is just an example, in fact, my model has many bones or groups that have undergone many rotations, which results in different parts of the model having bad shadows in the game.

commented

a
Oh, I found that this bug has been fixed in 4.4.5. Thanks to all the developers.