File: RenderOutputNode.md | Updated: 11/15/2025
Normally, tone mapping and color conversion happens automatically before outputting pixel too the default (screen) framebuffer. In certain post processing setups this happens to late because certain effects require e.g. sRGB input. For such scenarios, RenderOutputNode can be used to apply tone mapping and color space conversion at an arbitrary point in the effect chain.
When applying tone mapping and color space conversion manually with this node, you have to set PostProcessing#outputColorTransform to false.
const postProcessing = new PostProcessing( renderer );
postProcessing.outputColorTransform = false;
const scenePass = pass( scene, camera );
const outputPass = renderOutput( scenePass );
postProcessing.outputNode = outputPass;
Constructs a new render output node.
colorNode | The color node to process.
---|---
toneMapping | The tone mapping type.
outputColorSpace | The output color space.
The color node to process.
This flag can be used for type testing.
Default is true.
The output color space.
Gets the tone mapping type.
Returns: The tone mapping type.
Sets the tone mapping type.
value | The tone mapping type.
---|---
Returns: A reference to this node.