Quantcast
Channel: Babylon.js
Viewing all articles
Browse latest Browse all 388

Rendering order for transparent objects

$
0
0

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?


Viewing all articles
Browse latest Browse all 388

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>