Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

How can I use SortingLayer in my custom renderer?

Discussion in 'Graphics for ECS' started by davenirline, Aug 19, 2018.

  1. davenirline


    Jul 7, 2010
    I have a custom renderer that uses Graphics.DrawMesh(). However, there's no version that accepts a SortingLayer. Is it possible to create a custom renderer that can use a SortingLayer and would be identified by the default renderer?
    5argon and IC_ like this.