FresnelSpecularMethod provides a specular shading method that causes stronger highlights on grazing view angles.

Constructor

@:value({ baseSpecularMethod : null, basedOnSurface : true })new(basedOnSurface:Bool = true, ?baseSpecularMethod:BasicSpecularMethod)

Creates a new FresnelSpecularMethod object.

Parameters:

basedOnSurface

Defines whether the fresnel effect should be based on the view angle on the surface (if true), or on the angle between the light and the view.

baseSpecularMethod

The specular method to which the fresnel equation. Defaults to BasicSpecularMethod.

Variables

Inherited Variables

Inherited Methods

Defined by CompositeSpecularMethod

dispose():Void

@inheritDoc

Defined by BasicSpecularMethod

copyFrom(method:ShadingMethodBase):Void

@inheritDoc

Defined by NamedAssetBase

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

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