Black and white "effect" for the camera

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Liemaeu

I want to add an “effect” which turns everything black and white (for the player).

What is the best way to do this?

Thank you very much!

:bust_in_silhouette: Reply From: UnRealCloud 1

Hi, take a loot at

and for the shader code :
https://kidscancode.org/godot_recipes/shaders/greyscale/

Here’s the result
Viewport shader : bk hosted at ImgBB — ImgBB
Render : bk2 hosted at ImgBB — ImgBB

This set of examples was extremely useful for me in trying to understand shaders

DDoop | 2020-07-31 16:51