| Package | away3d.materials |
| Class | public class DiffusePBMaterial |
| Inheritance | DiffusePBMaterial away3d.materials.SinglePassShaderMaterial |
| Method | Defined by | ||
|---|---|---|---|
|
Creates a new DiffusePBMaterial object.
| DiffusePBMaterial | ||
| Method | Defined by | ||
|---|---|---|---|
| DiffusePBMaterial | |||
| DiffusePBMaterial | () | constructor |
public function DiffusePBMaterial(bitmap:BitmapData, normalMap:BitmapData, targetModel:Mesh, init:Object = null)Parameters
bitmap: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
|
| updatePixelShader | () | method |
protected override function updatePixelShader(source:Object3D, view:View3D):void
Parameters
source:Object3D |
|
view:View3D |