Exclude material from post processing

I’m making an iconset for use in the editor. It basically helps identifying blueprints that aren’t really obvious, are made of collisions, or are difficult to select.

The system uses a material to create the icons so that the user can choose an icon and the colors and some other little features.

When using this on a material billboard, post processing effects are applied to the material, which I don’t want because it makes the icon blend in with the scene more, and I want them to stand out like a regular billboard.

Is there a way to exclude a material billboard from post processing, preferably within the material and not using post processing settings?

Not sure, but Custom Depth Buffer (or some subsidiary) might do the trick. It’s mentioned around 24:20 of this video tutorial:

How to Make a Toon Shader in UE5