Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. 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

    davenirline

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