Black and White Effect

Hello, what’s the best way of creating a black and white effect on my game’s camera or even directly on render, everything should be affected except the 2D plane of my GUI. Thanks any help is welcome.

i think the most simple way is to use a fragment shader on “render” nodepath. the theory is to get the average value of RGB color values of every pixel then change all 3 values of RGB to this new value. Panda manual has a shader section which introduces how to use shader in Panda.

This approach will actually not work when using the Shader Generator, since it will override the default shader.

The simplest way to do this is probably a fullscreen quad with a shader applied, and the scene color as input.