I’ve been working a lot with gradient remapping recently and was getting annoyed with the back and forth between Photoshop and Unity. So, I present to you the LUT Gradient Generator for Unity!!
It’s pretty simple, extract the package ( google drive link ) into your Unity project and access through Window > LUT Generator.
- Click the small gradient to set your colours through the standard Unity gradient interface
- hit the Save Gradient button and choose a save location
The output is a 256 x 1 png, saved where ever you chose to save it. The window will save the last gradient you were working with when closed. Tested in Unity 2019.2, but it isn’t doing anything that special, so should work in most versions Code is commented to some degree, should you wish to change anything feel free; but I’m not able to offer much in the way of technical support if you break it
I’ve learnt a lot from this site, so I’m hoping to give a little back by sharing this.