Tonemap

Support for tonemapping.