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