View source
class EnvMapAmbientMethod
package away3d.materials.methods
extends BasicAmbientMethod › ShadingMethodBase › NamedAssetBase
Available on all platforms
EnvMapDiffuseMethod provides a diffuse shading method that uses a diffuse irradiance environment map to approximate global lighting rather than lights.
Constructor
new(envMap:CubeTextureBase)
Creates a new EnvMapDiffuseMethod object.
Parameters:
envMap | The cube environment map to use for the diffuse lighting. |
|---|