View source
class FresnelEnvMapMethod
package away3d.materials.methods
extends EffectMethodBase › ShadingMethodBase › NamedAssetBase
Available on all platforms
FresnelEnvMapMethod provides a method to add fresnel-based reflectivity to an object using cube maps, which gets stronger as the viewing angle becomes more grazing.
Constructor
new(envMap:CubeTextureBase, alpha:Float = 1)
Creates an FresnelEnvMapMethod object.
Parameters:
envMap | The environment map containing the reflected scene. |
|---|---|
alpha | The reflectivity of the material. |