Package | away3d.materials.methods |
Class | public class SlowFilteredShadowMapMethod |
Inheritance | SlowFilteredShadowMapMethod ShadingMethodBase |
Property | Defined by | ||
---|---|---|---|
epsilon : Number | SlowFilteredShadowMapMethod | ||
passes : Vector
Any passes required that render to a texture used by this method.
| ShadingMethodBase | ||
stepSize : Number | SlowFilteredShadowMapMethod | ||
viewDirVaryingReg : ShaderRegisterElement | ShadingMethodBase |
Method | Defined by | ||
---|---|---|---|
Creates a new BasicDiffuseMethod object.
| SlowFilteredShadowMapMethod | ||
Copies the state from a ShadingMethodBase object into the current object.
| ShadingMethodBase | ||
dispose(deep:Boolean):void
Cleans up any resources used by the current object.
| ShadingMethodBase |
epsilon | property |
epsilon:Number
[read-write]Implementation
public function get epsilon():Number
public function set epsilon(value:Number):void
numLights | property |
numLights:int
[read-write]Implementation
arcane function get numLights():int
arcane function set numLights(value:int):void
stepSize | property |
stepSize:Number
[read-write]Implementation
public function get stepSize():Number
public function set stepSize(value:Number):void
SlowFilteredShadowMapMethod | () | constructor |
public function SlowFilteredShadowMapMethod(castingLight:LightBase)
Parameters
castingLight:LightBase — The light casting the shadow
|
activate | () | method |
arcane override function activate(context:Context3D, contextIndex:uint):void
Sets the render state for this method.
Parameterscontext:Context3D — The Context3D currently used for rendering.
|
|
contextIndex:uint |
deactivate | () | method |
arcane override function deactivate(context:Context3D):void
Parameters
context:Context3D |
getFragmentPostLightingCode | () | method |
arcane override function getFragmentPostLightingCode(regCache:ShaderRegisterCache, targetReg:ShaderRegisterElement):String
Get the fragment shader code that should be added after all per-light code. Usually composits everything to the target register.
ParametersregCache:ShaderRegisterCache — The register cache used during the compilation.
|
|
targetReg:ShaderRegisterElement |
String |
getVertexCode | () | method |
arcane override function getVertexCode(regCache:ShaderRegisterCache):String
Parameters
regCache:ShaderRegisterCache |
String |
setRenderState | () | method |
arcane override function setRenderState(renderable:IRenderable, context:Context3D, contextIndex:uint, camera:Camera3D, lights:Vector):void
Parameters
renderable:IRenderable |
|
context:Context3D |
|
contextIndex:uint |
|
camera:Camera3D |
|
lights:Vector |