Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

How to sort particles?

$
0
0

@kosmonautgames wrote:

I understand one needs to sort particles back-to-front (if they have alpha values).

Does that mean that if i have a thousand sparks and a thousand smoke particles I need to switch my renderstates each time another type is in front?

In worst case that means 2000 times changing my rendering parameters (in best case 1 switch), which sounds pretty bad, but I guess it's the only solution right?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles