I’ve tried to find solving on internet, I’ve read a lot of topics about it but can’t find solving.
I have a road and a lot of balls along this road, all balls has opacityTexture, because they have transparency. But sometimes the balls which farther rendered before closest balls.
How I can render it all in properly order? All balls it is mesh instances of one mesh.
On the screenshot blue balls should be rendered after red balls, but we can see opposite situation.