Creates a new EffectFresnelEnvMapMethod
object.
The environment map containing the reflected scene.
The reflectivity of the material.
adapter is used to provide MovieClip to scripts taken from different platforms setter typically managed by factory. getter defaults to AwayJS class
A unique id for the asset, used to identify assets in an associative array
The original name used for this asset in the resource (e.g. file) in which
it was found. This may not be the same as name
, which may
have changed due to of a name conflict.
The reflectivity of the surface.
The reflectivity of the surface.
The cubic environment map containing the reflected scene.
The cubic environment map containing the reflected scene.
The power used in the Fresnel equation. Higher values make the fresnel effect more pronounced. Defaults to 5.
The power used in the Fresnel equation. Higher values make the fresnel effect more pronounced. Defaults to 5.
An optional texture to modulate the reflectivity of the surface.
An optional texture to modulate the reflectivity of the surface.
The minimum amount of reflectance, ie the reflectance when the view direction is normal to the surface or light direction.
The minimum amount of reflectance, ie the reflectance when the view direction is normal to the surface or light direction.
Add an event listener
Copies the state from a ShadingMethodBase object into the current object.
Dispatch an event
check if an object has an event listener assigned to it
Marks the shader program as invalid, so it will be recompiled before the next render.
Remove an event listener
Generated using TypeDoc
EffectFresnelEnvMapMethod provides a method to add fresnel-based reflectivity to an object using cube maps, which gets stronger as the viewing angle becomes more grazing.