gostest Posted December 22, 2015 Share Posted December 22, 2015 Hi, all! Coul you please help me because I have no more ideas what to do with my situation.I have have many objects on my scene created with Solid Particle System. Also I have my material with custom defined shader created with needAlphaBlending: true option.The promlem is that objects are drawn in wrong order. Objects located far are drawn in front of closer objects and alphaIndex is not set for these objects. Do you have some ideas what is wrong in my case? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted December 22, 2015 Share Posted December 22, 2015 The problem is that with SPS there is actually only one object. So no sorting (back to front) Quote Link to comment Share on other sites More sharing options...
jerome Posted December 22, 2015 Share Posted December 22, 2015 yep, this is a known limitation... A single mesh, so only one draw call but no sort in the parts between them if they have some transparency. As any other mesh actually. Nothing more, nothing less. Quote Link to comment Share on other sites More sharing options...
gostest Posted December 23, 2015 Author Share Posted December 23, 2015 Created separtely a number of object and now it works. 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.