add finishTonemapFunctions