Hey Aras, in the rendering pipeline, what's the order priority of lights? I've noticed it seems to do directional lights last, but point/spot light seems based on when the light was enabled/disabled. Another instance looked like it may have been based on distance from the camera. Is there an order?

I don't think the order is defined in any particular way. If you want sorting of lights in some way, probably would want to sort them yourself.

View more

Ask @aras_pr:

About Aras Pranckevičius:

Graphics programmer and code plumber at Unity

Kaunas, Lithuania

#graphics #programming