Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Light.shadowSoftnessFade

Switch to Manual
var shadowSoftnessFade: float;

Description

Fadeout speed of directional light's soft shadows.

See Also: shadows, shadowSoftness properties.

	// make light's shadow softness fade out really fast
	light.shadowSoftnessFade = 0.3;