JOPS particles over BUI

Hi everyone,

I need to use particles (JOPS library) to add degree of 'shininess' to GUI. I added rendering through rendering passes, so currently I have three:

  1. World gets rendered first
  2. Render pass that draws BRootNode gets drawn second
  3. A render pass that clears ZBuffer and renders each JopsNode separately gets rendered last

    Particles unfortunately end below GUI (but at least above the world).

    I presume this happens because BUI node is rendered in ORTHO mode.

    Anyone has any ideas on how to make this work?

At step 2, make sure to also render the queue after drawing the GUI- Renderer.renderQueue().

Awesome! Thank you so much, it works perfectly :slight_smile: