tranlong021988 Posted July 30, 2016 Share Posted July 30, 2016 Hi, I'm making new game and need visualize some effect with ParticleSystem blendmode. It's seem that we have some blending option here: https://doc.babylonjs.com/tutorials/How_to_use_Blend_Modes But it's for mesh only and just two option for ParticleSystem: BLENDMODE_ONEONE, or BLENDMODE_STANDARD So how can I apply Mesh blendMode option to ParticleSystem ? Quote Link to comment Share on other sites More sharing options...
DigiHz Data Posted August 1, 2016 Share Posted August 1, 2016 There are 2 options for blendmode in particle systems. BLENDMODE_ONEONE: scene.getParticleSystemByID(your_particlesystem).blendMode=0; BLENDMODE_STANDARD: scene.getParticleSystemByID( your_particlesystem ).blendMode=1; Quote Link to comment Share on other sites More sharing options...
Wingnut Posted August 1, 2016 Share Posted August 1, 2016 hehe. I think tranlong wanted to know WHY only 2 blend modes. Standard mesh have 6 modes. This doc is also pertinent. Particles... are different. Special. They are all part of a single "thing". A ground grid that has had its cells... separated. Our SolidParticleSystem might have more options for z-order/depth/blending. Not sure. Quote Link to comment Share on other sites More sharing options...
tranlong021988 Posted August 2, 2016 Author Share Posted August 2, 2016 @Wingnut : Ok, I will take a look SPS, thank you. 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.