SetDirectionalShadowIntensity

Definition

SetDirectionalShadowIntensity(float shadowIntensity)

Description

This function sets the intensity of directional light shadow to shadowIntensity.

Parameters

shadowIntensity
Specifies the intensity of directional light shadow. This value should be in the range [0,1].

Example

function Init()
    SetDirectionalShadowIntensity(0.9)
end

function Update()

end
This script sets the intensity of directional light shadow to 0.9.
adminSetDirectionalShadowIntensity