Search Unity

How can I use SortingLayer in my custom renderer?

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

  1. davenirline

    davenirline

    Joined:
    Jul 7, 2010
    Posts:
    982
    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.