SetDirectionalShadowResolution

Definition

SetDirectionalShadowResolution(int shadowResolution)

Description

This function sets the resolution of directional light shadow to shadowResolution.

Parameters

shadowResolution
Specifies the resolution of directional light shadow. Accepted values are 1024, 2048 and 4096.

Example

function Init()
    SetDirectionalShadowResolution(1024)
end

function Update()

end
This script sets the resolution of directional light shadow to 1024.
adminSetDirectionalShadowResolution