SetDirectionalShadowWeightOfSplits

Definition

SetDirectionalShadowWeightOfSplits(float weightOfSplits)

Description

This function sets the weight of splits of directional light shadow to weightOfSplits.

Parameters

weightOfSplits
Specifies the weight of splits of directional light shadow. This value should be in the range [0,1].

Example

function Init()
    SetDirectionalShadowWeightOfSplits(0.6)
end

function Update()

end
This script sets the weight of splits of directional light shadow to 0.6.
adminSetDirectionalShadowWeightOfSplits