Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. We are looking for feedback on the experimental Unity Safe Mode which is aiming to help you resolve compilation errors faster during project startup.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

DOTS + LWP and 2D rendering order

Discussion in 'Data Oriented Technology Stack' started by Noxalus, Jul 17, 2019.

  1. Noxalus


    Jan 9, 2018
    Hello everyone,

    Recently I switched my project to LWP to be able to easily create shader using Shader Graph, but from what I understood, the multiple camera rendering is disabled in LWP and I use DOTS to render a large amount of sprites using
    Code (CSharp):
    1. Graphics.DrawMeshInstanced
    giving it a specific camera to be able to handle the rendering order (using the depth property).

    As I can't do that now, how am I supposed to handle the rendering order of these sprites among the ones rendered in the canvas?

    Thank you in advance for your help.