SetDirectionalShadowNearClipPlane

Definition

SetDirectionalShadowNearClipPlane(float nearClipPlane)

Description

This function sets the near clip plane of directional light shadow to nearClipPlane.

Parameters

nearClipPlane
Specifies the near clip plane of directional light shadow. This value must be greater than zero.

Example

function Init()
    SetDirectionalShadowNearClipPlane(0.2)
end

function Update()

end
This script sets the near clip plane of directional light shadow to 0.2.
adminSetDirectionalShadowNearClipPlane