SoftShadowMapMethod
SoftShadowMapMethod provides a soft shadowing technique by randomly distributing sample points.
Inherited from SimpleShadowMapMethodBase -> ShadowMapMethodBase -> ShadingMethodBase -> NamedAssetBase -> EventDispatcher.
Can be created using method new:
Lib.Away3D.Materials.Methods.SoftShadowMapMethod.new(castingLight, numSamples, range) |
Creates SoftShadowMapMethod object. |
castingLight - The light casting the shadows (DirectionalLight), numSamples - Int, The amount of samples to take for dithering. Minimum 1, maximum 32. range - Number, The range in the shadow map in which to distribute the samples. |
Has properties:
numSamples |
Int. The amount of samples to take for dithering. Minimum 1, maximum 32. The actual maximum may depend on the complexity of the shader. |
range |
Number. The range in the shadow map in which to distribute the samples. |
Created with the Personal Edition of HelpNDoc: Free Web Help generator