Unity Render Queues vs Sorting Layers

This one should have been a matter of a simple google search, but it isn’t. Also I can’t find something in the docs.

The question is: what happens first? Render queue sorting or Sorting layer sorting?

So, I put 3 sprites at the exact same z:

  • A is in render queue 3000
  • B is 3100
  • C is 3200


So far, so good. Then, we move sprite ‘A’ to “order in layer” = 1:


‘A’ goes on top, which means that sorting layer sorting takes place first, and then render queue sorting is performed among objects of the same sorting layer.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s