Skip to content
This repository was archived by the owner on Nov 22, 2022. It is now read-only.

SoftDirectionalLight

Lucas edited this page Sep 16, 2019 · 3 revisions

Extends DirectionalLight. This class adds control of shadow softness to the directional light.

Constructor

SoftDirectionalLight ( color: Integer, intensity: Float )

Properties

.softness : Float

Controls the softness of shadows cast by the light. A value of 0.0 produces sharp shadows, while a value of 1.0 produces the softest shadows.