This fixes a few issues: - Split of shadows in different direction caused by the shadow normal bias. - Fixes #120599 by reverting to light vector to bias the shadow test. Cleanup now unused variables.
This fixes a few issues: - Split of shadows in different direction caused by the shadow normal bias. - Fixes #120599 by reverting to light vector to bias the shadow test. Cleanup now unused variables.