Jump to content

Particles and material alpha


fenomas
 Share

Recommended Posts

Thanks guys :D (Pixel is awesome we decided to choose Lucy:))

 

Heh, I only said that because a game developer I know really did name his daughter Pixel. I always wonder if she'll wind up liking it.

 

 

 

Perhaps I'm just being stupid again, but if a list of transparent objects is already being sorted, why not sort particle systems (not particles) into that list, and render them as if they were a transparent object (located at the system's emitter)?

Link to comment
Share on other sites

I didn't know about renderingGroupId, it's an awesome feature. I've documented it in the article about transparency & rendering order.

 

Perhaps I'm just being stupid again, but if a list of transparent objects is already being sorted, why not sort particle systems (not particles) into that list, and render them as if they were a transparent object (located at the system's emitter)?

 

That would be great, although it looks like it would need some serious refactoring of the RenderingManager and RenderingGroup classes. Which means, I wouldn't personally dare attempt it by fear of wreaking havoc in the rendering engine...

 

Basically particle systems (just as sprite managers) do not derive from the Node class, as meshes do. It's a different system, so mixing them to do depth-sorting is not an easy task. At least that's my conclusions by reading the sources. But yeah, that would be an awesome addition!

Link to comment
Share on other sites

That would be great, although it looks like it would need some serious refactoring of the RenderingManager and RenderingGroup classes. Which means, I wouldn't personally dare attempt it by fear of wreaking havoc in the rendering engine...

 

Well, ParticleSystems have an emitter property which can be a node, so I'd envisioned something like a proxy. But I'm only asking if it's possible. I gather, for example, that particles usually use a different blend mode than transparent textures, so I don't know if that would prevent them from being composted together, etc.

Link to comment
Share on other sites

Perhaps I'm just being stupid again, but if a list of transparent objects is already being sorted, why not sort particle systems (not particles) into that list, and render them as if they were a transparent object (located at the system's emitter)?

 

Just wondering if any core devs had thoughts on this!  

Link to comment
Share on other sites

  • 2 weeks later...

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...