Packageaway3d.materials.methods
Classpublic class DitheredShadowMapMethod
InheritanceDitheredShadowMapMethod Inheritance ShadowMapMethodBase Inheritance ShadingMethodBase Inheritance flash.events.EventDispatcher



Public Properties
 PropertyDefined By
 Inheritedalpha : Number
ShadowMapMethodBase
 InheritedcastingLight : LightBase
[read-only]
ShadowMapMethodBase
 Inheritedepsilon : Number
ShadowMapMethodBase
 Inheritedpasses : Vector.<MaterialPassBase>
[read-only] Any passes required that render to a texture used by this method.
ShadingMethodBase
  range : Number
DitheredShadowMapMethod
 InheritedviewDirVaryingReg : ShaderRegisterElement
ShadingMethodBase
Protected Properties
 PropertyDefined By
 Inherited_depthMapCoordReg : ShaderRegisterElement
ShadowMapMethodBase
 Inherited_globalPosReg : ShaderRegisterElement
ShadingMethodBase
 Inherited_normalFragmentReg : ShaderRegisterElement
ShadingMethodBase
 Inherited_passes : Vector.<MaterialPassBase>
ShadingMethodBase
 Inherited_projectionReg : ShaderRegisterElement
ShadingMethodBase
 Inherited_secondaryUVFragmentReg : ShaderRegisterElement
ShadingMethodBase
 Inherited_tangentVaryingReg : ShaderRegisterElement
ShadingMethodBase
 Inherited_usePoint : Boolean
ShadowMapMethodBase
 Inherited_uvFragmentReg : ShaderRegisterElement
ShadingMethodBase
 Inherited_viewDirFragmentReg : ShaderRegisterElement
ShadingMethodBase
 Inherited_viewDirVaryingReg : ShaderRegisterElement
ShadingMethodBase
Public Methods
 MethodDefined By
  
DitheredShadowMapMethod(castingLight:DirectionalLight, highRes:Boolean = false)
Creates a new DitheredShadowMapMethod object.
DitheredShadowMapMethod
 Inherited
Copies the state from a ShadingMethodBase object into the current object.
ShadingMethodBase
  
dispose():void
[override]
DitheredShadowMapMethod
Protected Methods
 MethodDefined By
  
[override]
DitheredShadowMapMethod
 Inherited
ShadowMapMethodBase
 Inherited
ShadowMapMethodBase
 Inherited
ShadowMapMethodBase
 Inherited
getTexSampleCode(vo:MethodVO, targetReg:ShaderRegisterElement, inputReg:ShaderRegisterElement, uvReg:ShaderRegisterElement = null, forceWrap:String = null):String
A helper method that generates standard code for sampling from a texture using the normal uv coordinates.
ShadingMethodBase
 Inherited
Marks the shader program as invalid, so it will be recompiled before the next render.
ShadingMethodBase
Property Detail
rangeproperty
range:Number


Implementation
    public function get range():Number
    public function set range(value:Number):void
Constructor Detail
DitheredShadowMapMethod()Constructor
public function DitheredShadowMapMethod(castingLight:DirectionalLight, highRes:Boolean = false)

Creates a new DitheredShadowMapMethod object.

Parameters
castingLight:DirectionalLight
 
highRes:Boolean (default = false)
Method Detail
activate()method
override arcane function activate(vo:MethodVO, stage3DProxy:Stage3DProxy):void

Parameters

vo:MethodVO
 
stage3DProxy:Stage3DProxy

dispose()method 
override public function dispose():void

getPlanarFragmentCode()method 
override protected function getPlanarFragmentCode(vo:MethodVO, regCache:ShaderRegisterCache, targetReg:ShaderRegisterElement):String

Parameters

vo:MethodVO
 
regCache:ShaderRegisterCache
 
targetReg:ShaderRegisterElement

Returns
String
initConstants()method 
override arcane function initConstants(vo:MethodVO):void

Parameters

vo:MethodVO