FernRP/FernRPExample

Is SDF Face Shadow only affected by light direction?

Closed this issue · 1 comments

I am working at main branch. I find that the SDF Face Shadow seem to only be affected by direction of the light. When I rotate the light direction, the shadow rotate beautifully. But when I rotate the face, the shadow don't rotate with it. Is there a way to rotate the shadow while rotating the character?
faceSDF

I've fixed this on the main branch, check out this commit:

FernRP/FernRP@6e8d67f

However, there is still a problem: if you use SkinMeshRender, the model's orientation will be affected by the bones, I will provide SkinMeshRender support later!