Jump to content

Particle system draw order


Claxon
 Share

Recommended Posts

Hi again. I'm working with particle systems at the moment and have a specific effect that I need. Essentially it is a sun that has been created with one particle system  inside of a nebula which is another particle system. The problem is that they are not depth sorted in anyway, so particles from one system will always be drawn in front of the other system. The order is determined by the particle system creation order; the last system is always drawn over the previous system. Does anyone know if BabylonJS has the ability to specify sorting for particles? I can't find anythin in the particle system code, but thought there might be something more generic elsewhere, or will I need to add support for that myself?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...