Exclude objects from Post Processing
I got a question to Unity's Post Processing Stack (in 2D).
Is it possible to exlude certain objects of the Post Processing Effects? for example I got 1 cube which I want to have effects like bloom etc and anotherone in next to the first one without any effects.
Maybe with multiple cameras rendering different layers?
I am using Unity 2019.2.17f1 and Post Processing 2.1.7
Use camera stacking to not include some layers in the camera view, making them not affected by the post processing on that camera
Answer by ChristopherKerr · Jan 18, 2020 at 10:21 PM
Hi.
If I understand you right, I was trying to do something similar recently (albeit in 3D). Eg, https://youtu.be/q9XWFlsAxJM?t=17
IE, a 'drawing effect' on everything but the hero character. To achieve this I used PostEffectMask from @villevli . Maybe see if that helps you out any?
https://forum.unity.com/threads/applying-image-effects-to-specific-objects.473226/#post-3498498
However, though, if you're just talking about something 'simple' like bloom, then yeah layers is a way to go. Layers. Camera clear flags. Camera culling. "Random Art Attack" stumbles through a quick tut here which might have what you're looking for in the latter case. https://youtu.be/0weJA2Gd5bw
Let us know how you get on.
Your answer
Follow this Question
Related Questions
Virtual controller and fire bullet shot in 2D 0 Answers
Why do prefabs overlap each other? 0 Answers
Limited Rotation in a 2D Platformer 1 Answer
Use blur on different layers? 0 Answers