Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

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

Light.shadowSoftness

Switch to Manual
public var shadowSoftness: float;

Description

Softness of directional light's soft shadows.

See Also: shadows, shadowSoftnessFade properties.

	// make light's shadows very soft
	light.shadowSoftness = 8.0;