View source
class DitheredShadowMapMethod
package away3d.materials.methods
extends SimpleShadowMapMethodBase › ShadowMapMethodBase › ShadingMethodBase › NamedAssetBase
Available on all platforms
DitheredShadowMapMethod provides a soft shadowing technique by randomly distributing sample points differently for each fragment.
Constructor
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. |