RedMax Posted April 10, 2017 Share Posted April 10, 2017 Hi I have a problem with my particle system. It always shows up under every mesh that I import from somewhere else. When I assign an empty StandardMaterial to the imported meshes, the ordering is correct and the particles are up front. What am I doing wrong? And how does the ordering work? The docs on that topic are outdated, I guess. It says that particles will always be on top: https://doc.babylonjs.com/tutorials/transparency_and_how_meshes_are_rendered Quote Link to comment Share on other sites More sharing options...
RedMax Posted April 10, 2017 Author Share Posted April 10, 2017 Ok, I digged through the BJS code and it is because the material has set the useAlphaFromDiffuseTexture flag. Is there any way I still can get the particles to the front? Quote Link to comment Share on other sites More sharing options...
Raggar Posted April 10, 2017 Share Posted April 10, 2017 Does it help setting: particleSystem.renderingGroupId = 1; ? GameMonetize 1 Quote Link to comment Share on other sites More sharing options...
RedMax Posted April 10, 2017 Author Share Posted April 10, 2017 Yes, it does! Thank you very much Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.