Definition
double GetDirectionalShadowWeightOfSplits()
Description
This function returns the weight of splits value of directional light shadow.
Return Value
The weight of splits of directional light shadow. This value is in the range [0.0,1.0].
Example
value = 0.0 function Init() value = GetDirectionalShadowWeightOfSplits() message = string.format("\nDirectional shadow weight of splits is : %.2f" ,value) PrintConsole(message) end function Update() end
First we get the weight of splits of direcional light shadow. Then we display the result in the console using the PrintConsole function.
GetDirectionalShadowWeightOfSplits