away3d.materials

..
compilation
lightpickers
methods
passes
utils
ColorMaterial

ColorMaterial is a single-pass material that uses a flat color as the surface's diffuse reflection value.

ColorMultiPassMaterial

ColorMultiPassMaterial is a multi-pass material that uses a flat color as the surface's diffuse reflection value.

LightSources

Enumeration class for defining which lighting types affect the specific material lighting component (diffuse and specular). This can be useful if, for example, you want to use light probes for diffuse global lighting, but want specular reflections from traditional light sources without those affecting the diffuse light.

MaterialBase

MaterialBase forms an abstract base class for any material. A material consists of several passes, each of which constitutes at least one render call. Several passes could be used for special effects (render lighting for many lights in several passes, render an outline in a separate pass) or to provide additional render-to-texture passes (rendering diffuse light to texture for texture-space subsurface scattering, or rendering a depth map for specialized self-shadowing).

MultiPassMaterialBase

MultiPassMaterialBase forms an abstract base class for the default multi-pass materials provided by Away3D, using material methods to define their appearance.

OcclusionMaterial

OcclusionMaterial is a ColorMaterial for an object to prevents drawing anything that is placed behind it.

OrthoSegmentMaterial

OrthoSegmentMaterial is a material exclusively used to render wireframe objects

SegmentMaterial

SegmentMaterial is a material exclusively used to render wireframe objects

SinglePassMaterialBase

SinglePassMaterialBase forms an abstract base class for the default single-pass materials provided by Away3D, using material methods to define their appearance.

SkyBoxMaterial

SkyBoxMaterial is a material exclusively used to render skyboxes

SpriteSheetMaterial

SpriteSheetMaterial is a material required for a SpriteSheetAnimator if you have an animation spreaded over more maps and/or have animated normalmaps, specularmaps

TextureMaterial

TextureMaterial is a single-pass material that uses a texture to define the surface's diffuse reflection colour (albedo).

TextureMultiPassMaterial

TextureMultiPassMaterial is a multi-pass material that uses a texture to define the surface's diffuse reflection colour (albedo).