Package | away3d.materials |
Class | public class DiffuseMultiPassMaterial |
Inheritance | DiffuseMultiPassMaterial away3d.materials.MultiPassShaderMaterial |
Method | Defined By | ||
---|---|---|---|
DiffuseMultiPassMaterial(bitmap:BitmapData, normalMap:BitmapData, targetModel:Mesh, init:Object = null)
Create a DiffuseMultiPassMaterial
| DiffuseMultiPassMaterial |
Method | Defined By | ||
---|---|---|---|
renderLightMap():void [override]
Renders the multiple passes to the light map
| DiffuseMultiPassMaterial |
DiffuseMultiPassMaterial | () | Constructor |
public function DiffuseMultiPassMaterial(bitmap:BitmapData, normalMap:BitmapData, targetModel:Mesh, init:Object = null)
Create a DiffuseMultiPassMaterial
Parametersbitmap:BitmapData — The texture to be used for the diffuse shading
| |
normalMap:BitmapData — An object-space normal map
| |
targetModel:Mesh — The target mesh for which this shader is applied
| |
init:Object (default = null ) — An initialisation object
|
renderLightMap | () | method |
override protected function renderLightMap():void
Renders the multiple passes to the light map