Package | away3d.materials.passes |
Class | public class LightingPass |
Inheritance | LightingPass ![]() ![]() ![]() |
See also
Property | Defined By | ||
---|---|---|---|
![]() | alphaPremultiplied : Boolean | MaterialPassBase | |
![]() | ambientMethod : BasicAmbientMethod | CompiledPass | |
![]() | animateUVs : Boolean | CompiledPass | |
![]() | animationRegisterCache : AnimationRegisterCache | MaterialPassBase | |
![]() | animationSet : IAnimationSet
The animation used to add vertex code to the shader code. | MaterialPassBase | |
![]() | bothSides : Boolean
Defines whether or not the material should perform backface culling. | MaterialPassBase | |
![]() | depthCompareMode : String | MaterialPassBase | |
![]() | diffuseLightSources : uint | CompiledPass | |
![]() | diffuseMethod : BasicDiffuseMethod | CompiledPass | |
directionalLightsOffset : uint | LightingPass | ||
includeCasters : Boolean | LightingPass | ||
lightProbesOffset : uint | LightingPass | ||
![]() | material : MaterialBase
The material to which this pass belongs. | MaterialPassBase | |
![]() | mipmap : Boolean [override]
Defines whether any used textures should use mipmapping. | CompiledPass | |
![]() | needFragmentAnimation : Boolean [read-only] | MaterialPassBase | |
![]() | needUVAnimation : Boolean [read-only] | MaterialPassBase | |
![]() | normalMap : Texture2DBase
The tangent space normal map to influence the direction of the surface for each texel. | CompiledPass | |
![]() | normalMethod : BasicNormalMethod | CompiledPass | |
![]() | numUsedFragmentConstants : uint [read-only] | MaterialPassBase | |
![]() | numUsedStreams : uint [read-only]
The amount of used vertex streams in the vertex code. | MaterialPassBase | |
![]() | numUsedVaryings : uint [read-only] | MaterialPassBase | |
![]() | numUsedVertexConstants : uint [read-only]
The amount of used vertex constants in the vertex code. | MaterialPassBase | |
pointLightsOffset : uint | LightingPass | ||
![]() | preserveAlpha : Boolean | CompiledPass | |
![]() | renderToTexture : Boolean [read-only]
Specifies whether this pass renders to texture
| MaterialPassBase | |
![]() | repeat : Boolean
Defines whether textures should be tiled. | MaterialPassBase | |
![]() | shadowMethod : ShadowMapMethodBase | CompiledPass | |
![]() | smooth : Boolean
Defines whether smoothing should be applied to any used textures. | MaterialPassBase | |
![]() | specularLightSources : uint | CompiledPass | |
![]() | specularMethod : BasicSpecularMethod | CompiledPass |
Method | Defined By | ||
---|---|---|---|
LightingPass(material:MaterialBase)
Creates a new DefaultScreenPass objects. | LightingPass | ||
![]() | dispose():void [override]
Cleans up any resources used by the current object. | CompiledPass | |
![]() | setBlendMode(value:String, force:Boolean = false):void | MaterialPassBase |
Method | Defined By | ||
---|---|---|---|
![]() | addPasses(passes:Vector.<MaterialPassBase>):void
Adds passes to the list. | CompiledPass | |
![]() | addPassesFromMethods():void | CompiledPass | |
![]() | cleanUp():void | CompiledPass | |
[override] | LightingPass | ||
![]() | initCommonsData():void | CompiledPass | |
![]() | initCompiler():void | CompiledPass | |
![]() | initUVTransformData():void | CompiledPass | |
updateLightConstants():void [override] | LightingPass | ||
updateLights():void [override] | LightingPass | ||
![]() | updateMethodConstants():void | CompiledPass | |
updateProbes(stage3DProxy:Stage3DProxy):void [override] | LightingPass | ||
updateRegisterIndices():void [override] | LightingPass | ||
updateShaderProperties():void [override] | LightingPass | ||
![]() | usesLights():Boolean | CompiledPass | |
![]() | usesProbes():Boolean | CompiledPass |
directionalLightsOffset | property |
directionalLightsOffset:uint
public function get directionalLightsOffset():uint
public function set directionalLightsOffset(value:uint):void
includeCasters | property |
includeCasters:Boolean
public function get includeCasters():Boolean
public function set includeCasters(value:Boolean):void
lightProbesOffset | property |
lightProbesOffset:uint
public function get lightProbesOffset():uint
public function set lightProbesOffset(value:uint):void
pointLightsOffset | property |
pointLightsOffset:uint
public function get pointLightsOffset():uint
public function set pointLightsOffset(value:uint):void
LightingPass | () | Constructor |
public function LightingPass(material:MaterialBase)
Creates a new DefaultScreenPass objects.
Parametersmaterial:MaterialBase |
activate | () | method |
override arcane function activate(stage3DProxy:Stage3DProxy, camera:Camera3D, textureRatioX:Number, textureRatioY:Number):void
Parameters
stage3DProxy:Stage3DProxy | |
camera:Camera3D | |
textureRatioX:Number | |
textureRatioY:Number |
createCompiler | () | method |
render | () | method |
override arcane function render(renderable:IRenderable, stage3DProxy:Stage3DProxy, camera:Camera3D):void
Parameters
renderable:IRenderable | |
stage3DProxy:Stage3DProxy | |
camera:Camera3D |
updateLightConstants | () | method |
override protected function updateLightConstants():void
updateLights | () | method |
override protected function updateLights():void
updateProbes | () | method |
override protected function updateProbes(stage3DProxy:Stage3DProxy):void
Parameters
stage3DProxy:Stage3DProxy |
updateRegisterIndices | () | method |
override protected function updateRegisterIndices():void
updateShaderProperties | () | method |
override protected function updateShaderProperties():void