CelDiffuseMethod provides a shading method to add diffuse cel (cartoon) shading.

Constructor

@:value({ baseDiffuseMethod : null, levels : 3 })new(levels:Int = 3, ?baseDiffuseMethod:BasicDiffuseMethod)

Creates a new CelDiffuseMethod object.

Parameters:

levels

The amount of shadow gradations.

baseDiffuseMethod

An optional diffuse method on which the cartoon shading is based. If omitted, BasicDiffuseMethod is used.

Variables

Inherited Variables

Inherited Methods

Defined by CompositeDiffuseMethod

dispose():Void

@inheritDoc

Defined by BasicDiffuseMethod

copyFrom(method:ShadingMethodBase):Void

@inheritDoc

generateMip(stage3DProxy:Stage3DProxy):Void

Forces the creation of the texture.

Parameters:

stage3DProxy

The Stage3DProxy used by the renderer

Defined by NamedAssetBase

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

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