I'm using LWRP in Unity 2019.1.12f1. The UI is in Screen Space - Camera. The shader used for the particles is Lightweight Render Pipeline/Particles/Unlit (Transparent, Premultiply).

Any ideas?

enter image description here

  • \$\begingroup\$ If you don't want items in your scene to draw over your UI ever, why use Screen Space - Camera rather than Screen Space - Overlay? \$\endgroup\$
    – DMGregory
    Aug 17, 2019 at 23:08
  • \$\begingroup\$ I want post processing to affect the UI. That doesn't work with Screen Space - Overlay. \$\endgroup\$
    – mr-matt
    Aug 17, 2019 at 23:09
  • \$\begingroup\$ So then you adjusted the plane distance of your UI Canvas to put it closer than the particles, or set its sorting layer to draw over the particles? Show us what you tried and why it's not working for this situation. \$\endgroup\$
    – DMGregory
    Aug 17, 2019 at 23:45
  • \$\begingroup\$ According to this - docs.google.com/document/d/… - "Users need to create a ScriptableRenderPass and inject in LWRP code to render things that require different camera matrices/fov. These vary on a case by case scenario, f.ex, rendering weapons in an FPS." I don't believe there is a straightforward way to achieve this right now. You may try to decrease Plane Distance on the Canvas until particles can't get in-between canvas and camera. \$\endgroup\$ Aug 18, 2019 at 1:00
  • \$\begingroup\$ Camera stacking is on the road-map but I wouldn't expect it to be released soon. drive.google.com/file/d/1J8ChJIsAXdXdmOPtNF_FIqd9exYD0kql/view . \$\endgroup\$ Aug 18, 2019 at 1:15

2 Answers 2


Increasing order in layer solved the problem.


Camera Stacks are now part of Unity's Universal Render Pipeline (URP). You can add an overlay camera over your main scene camera to render the particles - https://bdts.com.au/tips-and-resources/unity-ui-particles-in-urp-using-overly-cameras-and-camera-stacks.html


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .