SoftShadowMapMethod provides a soft shadowing technique by randomly distributing sample points.

Constructor

@:value({ range : 1, numSamples : 5 })new(castingLight:DirectionalLight, numSamples:Int = 5, range:Float = 1)

Creates a new BasicDiffuseMethod object.

Parameters:

castingLight

The light casting the shadows

numSamples

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

Variables

range:Float

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.

dispose():Void

Cleans up any resources used by 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