DitheredShadowMapMethod provides a soft shadowing technique by randomly distributing sample points differently for each fragment.

Constructor

@:value({ numSamples : 4 })new(castingLight:DirectionalLight, numSamples:Int = 4)

Creates a new DitheredShadowMapMethod object.

Parameters:

castingLight

The light casting the shadows

numSamples

The amount of samples to take for dithering. Minimum 1, maximum 24.

Variables

range:Float

Methods

dispose():Void

@inheritDoc

Inherited Variables

Defined by ShadowMapMethodBase

alpha:Float

read onlyassetType:String

epsilon:Float

Defined by ShadingMethodBase

Defined by NamedAssetBase

read onlyassetFullPath:Array<Dynamic>

read onlyassetNamespace:String

id:String

name:String

read onlyoriginalName:String

Inherited Methods

Defined by ShadingMethodBase

copyFrom(method:ShadingMethodBase):Void

Copies the state from a ShadingMethodBase object into the current object.

Defined by NamedAssetBase

assetPathEquals(name:String, ns:String):Bool

@:value({ overrideOriginal : true, ns : null })resetAssetPath(name:String, ?ns:String, overrideOriginal:Bool = true):Void