Add linear tone mapping and gamma correction. #29