View source
class FresnelSpecularMethod
package away3d.materials.methods
extends CompositeSpecularMethod › BasicSpecularMethod › LightingMethodBase › ShadingMethodBase › NamedAssetBase
Available on all platforms
FresnelSpecularMethod provides a specular shading method that causes stronger highlights on grazing view angles.
Constructor
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. |