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