Is it possible to make turn a texture become greyscale in the middle of the game?

Hi I’m making a character with a time stop ability which can be seen here:

In the game she comes from the time stop has the effect of making everything go grey scale except for her:

I wanted to know if it is possible to get a similar effect without having to make a Black and White version of the texture, and if so, how could I go about it?

You’ll have to write a custom shader and/or an use an image effect to accomplish something like that.

Ok, where do I start? I have absolutely no idea what shaders are or how they work.

I’m not great with shaders myself, but a quick Google gave me this:

And there’s a separate “Shaders” forum where people go that are better with shaders.

If you have Unity pro, you can use the included “greyscale” image effect. Effects are done per camera, so if you want to exclude a character, simply have the character be rendered with a different camera in the same position. No custom shaders or coding required.

jRocket, that sounds interesting, do you think you could go into a little bit more detail about that?

OK I figured out the grayscale effect on my own, but what about this thing with making the character be rendered on different cameras???

That can be done by having the character be put onto its own layer, and changing the culling masks of the cameras. Make sure the “color camera” is rendered on top (depth) and has the “clear depth” flag set.

Hmm, thanks for explaining it to me, though it’s not exactly coming out right.

I did however find a code for making a material go grayscale, but the problem is that I don’t know how to make it so that it is as “transparent/ cut / diffuse”.

Can anyone point me toward a solution for that?