Package | away3d.materials.methods |
Class | public class TripleFilteredShadowMapMethod |
Inheritance | TripleFilteredShadowMapMethod ShadowMapMethodBase ShadingMethodBase flash.events.EventDispatcher |
Method | Defined By | ||
---|---|---|---|
TripleFilteredShadowMapMethod(castingLight:DirectionalLight)
Creates a new BasicDiffuseMethod object. | TripleFilteredShadowMapMethod | ||
copyFrom(method:ShadingMethodBase):void
Copies the state from a ShadingMethodBase object into the current object. | ShadingMethodBase | ||
dispose():void
Cleans up any resources used by the current object. | ShadingMethodBase |
Method | Defined By | ||
---|---|---|---|
getPlanarFragmentCode(vo:MethodVO, regCache:ShaderRegisterCache, targetReg:ShaderRegisterElement):String [override]
| TripleFilteredShadowMapMethod | ||
ShadowMapMethodBase | |||
getPointFragmentCode(vo:MethodVO, regCache:ShaderRegisterCache, targetReg:ShaderRegisterElement):String | ShadowMapMethodBase | ||
ShadowMapMethodBase | |||
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 | ||
invalidateShaderProgram():void
Marks the shader program as invalid, so it will be recompiled before the next render. | ShadingMethodBase |
TripleFilteredShadowMapMethod | () | Constructor |
public function TripleFilteredShadowMapMethod(castingLight:DirectionalLight)
Creates a new BasicDiffuseMethod object.
ParameterscastingLight:DirectionalLight — The light casting the shadow
|
getPlanarFragmentCode | () | method |
override protected function getPlanarFragmentCode(vo:MethodVO, regCache:ShaderRegisterCache, targetReg:ShaderRegisterElement):String
Parameters
vo:MethodVO | |
regCache:ShaderRegisterCache | |
targetReg:ShaderRegisterElement |
String |
initConstants | () | method |