threejs-kit
threejs-kit copied to clipboard
Sorting for transparent mesh
I'm running into an issue where sprites with semi-transparent areas need to be sorted back-to-front per-frame before render, for example clouds. Otherwise, you get issues like this image, where the cloud should be fading to 0 opacity, revealing the cloud behind it, but instead the overlapping area becomes fully white.