Iray Programmer's Manual

Tonemapping

The different render modes share built-in tonemappers, one of them being equivalent to the well known mia_exposure_photographic shader. These are used to map the unprocessed, simulated high dynamic range results to values that current display technology is able to work with and thus also offers optional display gamma correction. The tonemappers are disabled by default, but it is recommended to use these built-in models for best rendering performance and output quality.

The tonemapper is controlled with the following attribute on the mi::neuraylib::ICamera class.

const char* tm_tonemapper

Defines the tonemapper to use. The attribute is not defined by default and thus no tonemapper is enabled. The available built-in tonemappers are mia_exposure_photographic or tm_custom_tonemapper.

Subsections