Exclude mesh from post effects

Hello All,
is any way how exclude mesh from post effects ?

Thank you for any advices.
Radek

Hi @Radek_HART,

I haven’t tried that but I can see in the camera component there is a disablePostEffectsLayer property.

It defaults to the UI layer but you can specify a different layer, in this case a custom one you will create and it will be used to render any mesh instances that shouldn’t be included in the post effects.

Make sure that this layer comes in the ordering list after any other layer that requires post processing.

https://developer.playcanvas.com/en/api/pc.CameraComponent.html#disablePostEffectsLayer

2 Likes