I would like to achieve a selective colouring effect where everything is coloured in greyscale besides the colour red, preferrably by editing the greyscale effect default unity pro shader. However i have no idea how to do such a thing, how would i go about it?
Ok, since you ment post-processing, I tried to change the greyscale post-processing shader and it worked pretty fine.
Here’s the shader:
[1410-GrayscaleEffect.txt|1410]
Just change the extension to .shader
Here’s the script:
[1411-GrayscaleEffect.txt|1411]
Change the extension to .cs
I had to change the extensions in order to upload these files, so correct them.
Put the first attachement (shader) inside Standard Assets / Image Effects (Pro Only) / _Sources / Shaders, and put the cs script in Standard Assets / Image Effects (Pro Only)
Altough the shader isn’t optimized, this still deserves a thumbs up
Here’s the code for something I tried to get the effect you want.
It’s far from perfect, but I would really want you to try it out and let me know if its what you need.
When you create a material with this shader, you will have two sliders to tweak tresholds.
I think it isn't that hard to create it from this shader.
– Deoxyz