PassClampAndConvertTo8bit

Undocumented in source.

Constructors

this
this(MultipassCompositor parent)
Undocumented in source.

Members

Functions

render
void render(int threadIndex, const(box2i) area, CompositorPassBuffers* buffers)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

tonemapRatio
float tonemapRatio;

Tuned on Auburn plugins. This brings a sense of dynamic range, possibly lower would be a bit better. 0.3f wins over 0.5f and 1.0f.

tonemapThreshold
float tonemapThreshold;

Normally not much reason to change this. This is the threshold above which colors are allowed to "bleed" into others in a gray way.

Inherited Members

From CompositorPass

name
string name()
Undocumented in source. Be warned that the author may not have intended to support it.
setActive
void setActive(bool active)
Undocumented in source. Be warned that the author may not have intended to support it.
numThreads
int numThreads()
Undocumented in source. Be warned that the author may not have intended to support it.
renderIfActive
void renderIfActive(int threadIndex, const(box2i) area, CompositorPassBuffers* buffers)
Undocumented in source. Be warned that the author may not have intended to support it.
resizeBuffers
void resizeBuffers(int width, int height, int areaMaxWidth, int areaMaxHeight)

Override this to allocate temporary buffers, eventually.

render
void render(int threadIndex, const(box2i) area, CompositorPassBuffers* buffers)

Override this to specify what the pass does. If you need more buffers, use type-punning based on a CompositorPassBuffers extension.

Meta