WrapDiffuseMethod is an alternative to BasicDiffuseMethod in which the light is allowed to be "wrapped around" the normally dark area, to some extent. It can be used as a crude approximation to Oren-Nayar or simple subsurface scattering.

Constructor

@:value({ wrapFactor : .5 })new(wrapFactor:Float = .5)

Creates a new WrapDiffuseMethod object.

Parameters:

wrapFactor

A factor to indicate the amount by which the light is allowed to wrap

Variables

Inherited Variables

Inherited Methods

Defined by BasicDiffuseMethod

copyFrom(method:ShadingMethodBase):Void

@inheritDoc

dispose():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