Adding and tweaking post process may be a little pain in the …, especially when You try to do it by tweaking default values in the xml files, so I’ve created little component to make it easier:
Here’s the code:
NOTE:
- as for now it supports only Gamma correction, Tonemap and Color correction;
- GetRenderPath function returns only render path from first viewport and this function should be replaced to better fit application specific needs;
- there can be more than 1 component of this type in the scene but only 1 will be active and it will override settings from others - this allows having different setup for different circumstances.