BasicSpecularMethod provides the default shading method for Blinn-Phong specular highlights (an optimized but approximated version of Phong specularity).


Inherited from LightingMethodBase -> ShadingMethodBase -> NamedAssetBase -> EventDispatcher.


Created BasicDiffuseMethod object has properties:

gloss

The sharpness of the specular highlight.

specular

The overall strength of the specular highlights.

specularColor

The colour of the specular reflection of the surface.

texture

The bitmapData that encodes the specular highlight strength per texel in the red channel, and the sharpness in the green channel. (Texture2DBase)


methods:

copyFrom(method)

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

method - (ShadingMethodBase)

Created with the Personal Edition of HelpNDoc: Free EBook and documentation generator