new(light:Light)
@: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
calcCascadeMatrices():Void
getCascadeOffset(i:Int):Vector4
getCascadeProj(i:Int):Matrix
getCascadeScale(i:Int):Vector4
getShadowTextures():Array<Texture>
set_cascade(v:Int):Int
@: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
@:value(0.01)bias:Float = 0.01
blur:Blur
@: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
read onlyname:String
dynamiccalcShadowBounds(camera:Camera):Void
setContext(ctx:RenderContext):Void