BasicAmbientMethod provides the default shading method for uniform ambient lighting.
protected var _ambientInputRegister:ShaderRegisterElement
arcane var _lightAmbientB:Number = 0
arcane var _lightAmbientG:Number = 0
arcane var _lightAmbientR:Number = 0
protected var _useTexture:Boolean
ambient:Number
The strength of the ambient reflection of the surface.
Implementation public function get ambient():Number
public function set ambient(value:Number):void
ambientColor:uint
The colour of the ambient reflection of the surface.
Implementation public function get ambientColor():uint
public function set ambientColor(value:uint):void
texture:Texture2DBase
The bitmapData to use to define the diffuse reflection color per texel.
Implementation public function get texture():Texture2DBase
public function set texture(value:Texture2DBase):void
public function BasicAmbientMethod()
Creates a new BasicAmbientMethod object.
override arcane function activate(vo:MethodVO, stage3DProxy:Stage3DProxy):void
Parameters
override arcane function cleanCompilationData():void
override public function copyFrom(method:ShadingMethodBase):void
Copies the state from a BasicAmbientMethod object into the current object.
Parameters
arcane function getFragmentCode(vo:MethodVO, regCache:ShaderRegisterCache, targetReg:ShaderRegisterElement):String
Parameters
Returnsoverride arcane function initConstants(vo:MethodVO):void
Parameters
override arcane function initVO(vo:MethodVO):void
Parameters
Tue Jul 17 2012, 10:37 AM +01:00