How to make the entire scene in Unity greyscale but only shows the red color?

salimmatta
polycounter lvl 7
in Unity
Hey guys,
I'm a game artist generalist and I barely use Unity, so I was wondering if I want to make my entire scene grey scale except the red color, I want the red color to show (eye glowing for zombies)
So literally no idea how to do this, any help on the subject?
I'm a game artist generalist and I barely use Unity, so I was wondering if I want to make my entire scene grey scale except the red color, I want the red color to show (eye glowing for zombies)
So literally no idea how to do this, any help on the subject?

Replies
-
Color grading can do this. Look up post processing. Easiest way might be using a Look Up Table (LUT). You basically feed it a palette that replaces the final screen colors with your new ones. So you would use a greyscale palette, except from the reds.
If there are other red bits in your scene that you don't want to stay red, then it might be good to add a special effect texture to the zombie eyes, which you can use to isolate those areas in the post process. -
Another way to do this is with replacement shaders. Add a grey scale replacement shader to the main camera. Render the eyes with another camera and set it's clear flags and depth appropriately.