Constructor

new(light:Light)

Variables

@:value(true)autoShrink:Bool = true

Shrink the frustum of the light to the bounds containing all visible objects

@:value(false)autoZPlanes:Bool = false

For top down lights and cameras, use scene Z min/max to optimize shadowmap. Requires autoShrink

debug:Bool

@:value(-1.0)maxDist:Float = -1.0

Clamp the zFar of the frustum of the camera for bounds calculation

@:value(-1.0)minDist:Float = -1.0

Clamp the zNear of the frustum of the camera for bounds calculation

Methods

dynamiccalcShadowBounds(camera:Camera):Void

Inherited Variables

Defined by Shadows

@:value(0.01)bias:Float = 0.01

@:value(true)enabled:Bool = true

@:value(None)mode:RenderMode = None

@:value(1)pcfQuality:Int = 1

@:value(1.0)pcfScale:Float = 1.0

@:value(30.0)power:Float = 30.0

@:value(None)samplingKind:ShadowSamplingKind = None

read onlyshader:Shader

@:value(1024)size:Int = 1024

Defined by Output

read onlyname:String

Inherited Methods

Defined by Shadows

Defined by Output