ShadowType
How the shadow map filters a shadow’s edge, as fiber’s shadows names
it. three r186 removed the soft filter fiber’s true and "soft" ask
for, so neither is offered.
Enumeration Members
Section titled “Enumeration Members”Basic:
"basic"
No filter: a hard, aliased edge, and the cheapest.
Percentage
Section titled “Percentage”Percentage:
"percentage"
Percentage-closer filtering, softened by each light’s
shadow.radius.
Tent:
"tent"
Percentage-closer filtering of the sun’s shadow by a fixed 5x5
texel tent in nine taps: a smooth edge with no grain, where
Percentage’s taps turn by a noise per pixel. A cascade’s read takes
nine compares where Percentage takes five, and the far shadow
map’s nine where it takes one. Other lights filter as Percentage
does.
Variance
Section titled “Variance”Variance:
"variance"
Variance shadow maps: a blurred edge from each light’s
shadow.radius and shadow.blurSamples, at the cost of a blur pass
per light.