0 like 0 dislike
Is it possible to render Popcorn FXs in front of Unity's UI?
Basically we want to make some cool particles for level ups, and achievements, and so forth that need to be rendered in front of the UI.


by midwinterdreams (1.1k points)

1 Answer

1 like 0 dislike
Hello Jason,

You can try to create a camera that will render only the PopcornFx particles and another one that will only render the UI with a smaller depth than the camera rendering the particles. This way, by only clearing the depth buffer (Clear Flags -> Depth only) on the camera that renders the particles, you will be able to see your effects on top of the UI.

Hope this helps!
by Paul (7.9k points)