add basic tone mapping for generating image from an exr hdr image