slight tonemap shader refactor