softness property
double
get
softness
World-space penumbra radius for this catcher's shadow, decoupled from the scene's shadow settings.
0 (the default) inherits the scene's DirectionalLight.shadowSoftness.
In live mode a positive value overrides the softness for this catcher's
draws only, per draw in its own uniform block, so it never perturbs the
scene-wide shadow settings or other receivers (large values stay
bounded by the fixed shadow filter kernel). In baked mode it maps to
the cache blur and resolution instead, so softer shadows are cheaper
and unbounded by the kernel.
Implementation
double get softness => _softness;
set
softness
(double value)
Implementation
set softness(double value) {
_softness = value;
_paramsDirty = true;
// The baked cache maps softness to its resolution, so it must re-bake.
_bakeDirty = true;
}