Hey guys, I’m trying to make an Image Effect.
I’m sort of lost on how this is done.
I am wanting the image effect to gather a range of colors (Like brighter) colored pixels.
and then change their pixel values.
(Trying to make an Infrared effect).
I’m not asking for a handout, just how the process of this works.
I’m new to Image Effects (just got the trial version of pro).
Thanks guys!
There are couple ways to achieve this;
Forexample, you can read the luminance value of a pixel and if it is higher than your threshold value you can do your changes on it.
For better examples, you can check my “Aubergines PostProcess Effects” in the assetstore.
You could use Unity’s default image effect called ‘Color Correction (Ramp)’. Make a gradient in photoshop where left represents your dark color values and rightside is your bright colors.
Below is a quick example which first blurs the image quite a bit, adds some noise and finally adjusts colors using a ramp texture. Make sure that your gradient texture uses clamping in your texture import settings or you’ll get some rendering artifacts.
EDIT: Actually, did you mean infrared photography effect? Like where photos look like they are covered in snow? I suppose that could be done using a different kind of ramp too. The example above is quite off if that’s what you’re after 