Packagecom.yogurt3d.core.materials.shaders
Classpublic class ShaderHemisphere
InheritanceShaderHemisphere Inheritance Shader Inheritance Object

Ambient pass for multi-pass rendering pipeline.



Public Properties
 PropertyDefined By
  alphaTexture : TextureMap
[write-only]
ShaderHemisphere
 Inheritedattributes : Vector.<EVertexAttribute>
[read-only]
Shader
 Inheritedkey : String
Key string of a shader.
Shader
  opacity : Number
[write-only]
ShaderHemisphere
 Inheritedparams : ShaderParameters
Returns the shader parameters.
Shader
Public Methods
 MethodDefined By
  
ShaderHemisphere(_alpha:Number = 1)
ShaderHemisphere
 Inherited
Shader
  
getFragmentProgram(_lightType:ELightType = null):ByteArray
[override]
ShaderHemisphere
  
getProgram(_context3D:Context3D, _lightType:ELightType = null, _meshKey:String):Program3D
[override]
ShaderHemisphere
  
getVertexProgram(_meshKey:String, _lightType:ELightType = null):ByteArray
[override]
ShaderHemisphere
Property Detail
alphaTextureproperty
alphaTexture:TextureMap  [write-only]


Implementation
    public function set alphaTexture(value:TextureMap):void
opacityproperty 
opacity:Number  [write-only]


Implementation
    public function set opacity(value:Number):void
Constructor Detail
ShaderHemisphere()Constructor
public function ShaderHemisphere(_alpha:Number = 1)



Parameters
_alpha:Number (default = 1)
Method Detail
getFragmentProgram()method
override public function getFragmentProgram(_lightType:ELightType = null):ByteArray

Parameters

_lightType:ELightType (default = null)

Returns
ByteArray
getProgram()method 
override public function getProgram(_context3D:Context3D, _lightType:ELightType = null, _meshKey:String):Program3D

Parameters

_context3D:Context3D
 
_lightType:ELightType (default = null)
 
_meshKey:String

Returns
Program3D
getVertexProgram()method 
override public function getVertexProgram(_meshKey:String, _lightType:ELightType = null):ByteArray

Parameters

_meshKey:String
 
_lightType:ELightType (default = null)

Returns
ByteArray