Creates a new DiffuseWrapChunk object.
Sets the render state for this method.
Generate the code that applies the calculated shadow to the diffuse light
The register cache the compiler is currently using for the register management.
Resets the method's state for compilation.
Clears the render state for this method.
Get the fragment shader code that will generate the code relevant to a single light.
Get the fragment shader code that will generate the code relevant to a single light probe object.
Get the fragment shader code that will be needed before any per-light code is added.
Get the vertex shader code for this method.
Initializes unchanging shader constants using the data from a MethodVO.
Resets the compilation state of the method.
Sets the render state for a single renderable.
Add an event listener
Dispatch an event
check if an object has an event listener assigned to it
Remove an event listener
Generated using TypeDoc
DiffuseWrapChunk is an alternative to DiffuseBasicChunk 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.