effects.shadows.filter¶
Summary¶
effects.shadows.filter selects hard comparison sampling or percentage-closer filtering for received shadows. The default is "pcf".
Syntax¶
Parameters¶
This property does not take call parameters; assign "hard" or "pcf" to set it.
Returns¶
"hard" | "pcf" - Current receiver filtering mode. The default is "pcf".
Type Details¶
"hard" uses nearest comparison sampling. "pcf" uses linear percentage-closer filtering. Changing the filter increments revision and affects subsequent shadow sampling, but does not mark stored shadow-map contents dirty.
Example¶
Notes¶
Changing the filter does not require regenerating a manual-update shadow map.