Add tone mapping to render view
A new option is available in render view property to enable HDR rendering and tone mapping pass.
When enabled, rendering is done on a half-float framebuffer in order to support colors going beyond 1.0 value.
Three tone mapping algorithms are availables:
- Clamp: clamps luminance to [0;1] range.
-
Reinhard, luminance function:
y = x / (1 + x)
. -
Exponential, luminance function:
y = 1 - exp(-x*a)
,a
is an exposure coefficient.
VTK is updated because vtk/vtk!4346 (merged) is needed.