Creates a new SpecularFresnelMethod object.
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.
The specular method to which the fresnel equation. Defaults to SpecularBasicMethod.
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 base diffuse method on which this method's shading is based.
The base diffuse method on which this method's shading is based.
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.
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.
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.
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
SpecularFresnelMethod provides a specular shading method that causes stronger highlights on grazing view angles.