Skip to main content

Particles Object incorrectly rendering above other elements in UI in Luna

Possible solution:

  • Follow these steps:
    1. Move the elements you wish to render at the top (in front of) to a new canvas object.
    2. Add this new canvas to a new layer (create one and name it).
    3. Create a new camera.
    4. Set the camera’s Clear Flags option to ‘Depth only’.
    5. Set the camera’s Culling Mask option to only be the layer you created just now (the one that the new canvas is under).
    6. Set the camera’s Depth option to be a higher number than the main scene camera.