Revert "Simplify sunlight shadow shader."

This reverts commit cc7f95163c29a19d6905e2e99a76a62fbbd63578.