View source
class CelSpecularMethod
package away3d.materials.methods
extends CompositeSpecularMethod › BasicSpecularMethod › LightingMethodBase › ShadingMethodBase › NamedAssetBase
Available on all platforms
CelSpecularMethod provides a shading method to add specular cel (cartoon) shading.
Constructor
new(specularCutOff:Float = .5, ?baseSpecularMethod:BasicSpecularMethod)
Creates a new CelSpecularMethod object.
Parameters:
specularCutOff | The threshold at which the specular highlight should be shown. |
|---|---|
baseSpecularMethod | An optional specular method on which the cartoon shading is based. If ommitted, BasicSpecularMethod is used. |