Creates a new SpecularAnisotropicMethod object.
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 colour of the specular reflection of the surface.
The colour of the specular reflection of the surface.
The glossiness of the material (sharpness of the specular highlight).
The glossiness of the material (sharpness of the specular highlight).
The overall strength of the specular highlights.
The overall strength of the specular highlights.
A texture that defines the strength of specular reflections for each texel in the red channel, and the gloss factor (sharpness) in the green channel. You can use Specular2DTexture if you want to easily set specular and gloss maps from grayscale images, but correctly authored images are preferred.
A texture that defines the strength of specular reflections for each texel in the red channel, and the gloss factor (sharpness) in the green channel. You can use Specular2DTexture if you want to easily set specular and gloss maps from grayscale images, but correctly authored images are preferred.
Add an event listener
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
SpecularAnisotropicMethod provides a specular method resulting in anisotropic highlights. These are typical for surfaces with microfacet details such as tiny grooves. In particular, this uses the Heidrich-Seidel distrubution. The tangent vectors are used as the surface groove directions.