Instead of a hard cutoff, we fade shadows out at the shadowFar distance if active, fading occurs over about 10% of the shadowFar distance. - this works only for the directional shadow (other lights don't use shadowFar).
Instead of a hard cutoff, we fade shadows out at the shadowFar distance if active, fading occurs over about 10% of the shadowFar distance. - this works only for the directional shadow (other lights don't use shadowFar).