Rendering objects in queues?

I study the architecture of the game engine, and I came across an implementation where each node in the script is placed in a specific queue (opaque, transparent, spelling, etc.) with queues displayed in a specific order: opaque, transparent, spelling. Is there a name for this technique / algorithm for further research?

Thank you very much in advance!

+5
source share
1 answer

I don’t know if there is a name for the general order that you mention, but I would suggest that the transparent queue is ordered from the farthest to the closest, and this is called alpha sort (or Transparency Sort ). For opaque objects, this is not necessary, so they can either go first or sort with transparent objects, but do not bother sorting them, obviously faster, because you can just let the depth buffer do all the relevant work.

+3
source

All Articles