Tonemap as Algorithm