Creates a new DiffuseWrapMethod object.
A factor to indicate the amount by which the light is allowed to wrap
adapter is used to provide MovieClip to scripts taken from different platforms setter typically managed by factory. getter defaults to AwayJS class
A unique id for the asset, used to identify assets in an associative array
The original name used for this asset in the resource (e.g. file) in which
it was found. This may not be the same as name
, which may
have changed due to of a name conflict.
The color of the diffuse reflection when not using a texture.
The color of the diffuse reflection when not using a texture.
Set internally if diffuse color component multiplies or replaces the ambient color
Set internally if diffuse color component multiplies or replaces the ambient color
The texture to use to define the diffuse reflection color per texel.
The texture to use to define the diffuse reflection color per texel.
A factor to indicate the amount by which the light is allowed to wrap.
A factor to indicate the amount by which the light is allowed to wrap.
Add an event listener
Dispatch an event
check if an object has an event listener assigned to it
Marks the shader program as invalid, so it will be recompiled before the next render.
Remove an event listener
Generated using TypeDoc
DiffuseWrapMethod is an alternative to DiffuseBasicMethod 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.