Noname 2.5 Shooter (Open source)

I don’t understand what is case 1… Let me rephrase my proposal. Here 1 and 2 are steps and not alternatives.

First

  1. draw all sprites with depth test and depth write enabled, use discard if the fragment has very low alpha.

Then
2. draw all particles with depth test enabled and depth write DISABLED.

Hope this is somehow clearer. Or there is something I don’t understand in your reply… sorry, my english is not that good!

EDIT: if particles look non-overlapping then probably there is some issue in the code and you have not disabled depth write. Perhaps Defold re-enables it…

1 Like