Adds an extension to ScreenPass material for applying tonemapping on the final buffer before rendering to screen.
Also adds support for Uncharted2 tone-mapping.
Extra defines to copy to material
Extra uniforms to copy to material
Extra code to add to the top of the fragment shader Value can be a string or a function that returns a string
The priority of the material extension when applied to the material in ScreenPass set to very low priority, so applied at the end
Function to return the UI config for this material extension. This is called once when the material extension is registered.
Function to check if this material extension is compatible with the given material. If not compatible, the material extension will not be applied. This is only checked when the extension is registered.
Custom callback to run code before the material is rendered
material.onBeforeRender for each material for each object it's rendered on.
Generated using TypeDoc