CelSpecularMethod provides a shading method to add specular cel (cartoon) shading.

Constructor

@:value({ baseSpecularMethod : null, specularCutOff : .5 })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.

Variables

Inherited Variables

Inherited Methods

Defined by CompositeSpecularMethod

dispose():Void

@inheritDoc

Defined by BasicSpecularMethod

copyFrom(method:ShadingMethodBase):Void

@inheritDoc

Defined by NamedAssetBase

assetPathEquals(name:String, ns:String):Bool

@:value({ overrideOriginal : true, ns : null })resetAssetPath(name:String, ?ns:String, overrideOriginal:Bool = true):Void