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

@:value({ alpha : 1 })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

Variables

Inherited Variables

Defined by EffectMethodBase

read onlyassetType:String

Defined by ShadingMethodBase

Defined by NamedAssetBase

read onlyassetFullPath:Array<Dynamic>

read onlyassetNamespace:String

id:String

name:String

read onlyoriginalName:String

Inherited Methods

Defined by ShadingMethodBase

copyFrom(method:ShadingMethodBase):Void

Copies the state from a ShadingMethodBase object into the current object.

dispose():Void

Cleans up any resources used by the current object.

Defined by NamedAssetBase

assetPathEquals(name:String, ns:String):Bool

@:value({ overrideOriginal : true, ns : null })resetAssetPath(name:String, ?ns:String, overrideOriginal:Bool = true):Void