Enabling tone mapping
RED::IViewpoint* iviewpoint = viewpoint->As< RED::IViewpoint >();
RED::PostProcess& pp = iviewpoint->GetPostProcessSettings();
RC_TEST( pp.SetToneMapping( RED::TMO_PHOTOGRAPHIC ) );
All tone mapping controls are available on the RED::PostProcess class instance of the viewpoint. Please note that the RED::PostProcess class is accessed directly, without any RED::State transaction parameter. Consequently, changing the tone mapper settings should only occur from the rendering thread, before or after a rendering call. This lets the calling application dynamically change the tone mapping of an image while its calculated.
![]() | Interpolating GI for flickering-free animations![]() |