Constructor

new(light:Light)

Variables

@:value(1)cascade:Int = 1

@:value(new h3d.Matrix())cascadeViewProj:Matrix = new h3d.Matrix()

@:value(0.0)castingMaxDist:Float = 0.0

@:value(false)debugShader:Bool = false

@:value(10.0)firstCascadeSize:Float = 10.0

@:value(false)highPrecision:Bool = false

@:value(1)minPixelSize:Int = 1

@:value([])params:Array<CascadeParams> = []

@:value(1.0)pow:Float = 1.0

@:value(0.15)transitionFraction:Float = 0.15

Methods

Inherited Variables

Defined by DirShadowMap

@: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

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 DirShadowMap

dynamiccalcShadowBounds(camera:Camera):Void

Defined by Output