View source
class FresnelPlanarReflectionMethod
package away3d.materials.methods
extends EffectMethodBase › ShadingMethodBase › NamedAssetBase
Available on all platforms
FresnelPlanarReflectionMethod provides a method to add fresnel-based planar reflections from a PlanarReflectionTexture object.to a surface, which get stronger as the viewing angle becomes more grazing. This method can be used for (near-)planar objects such as mirrors or water.
See also:
away3d.textures.PlanarReflectionTexture
Constructor
new(texture:PlanarReflectionTexture, alpha:Float = 1)
Creates a new FresnelPlanarReflectionMethod object.
Parameters:
texture | The PlanarReflectionTexture containing a render of the mirrored scene. |
|---|---|
alpha | The maximum reflectivity of the surface. |
See also:
away3d.textures.PlanarReflectionTexture