I was wondering if it is possible to add 3D meshes to the 2D Sorting Layer somehow?
Currently, I have a 2D sprite as my scene background with it 0 in the Sorting Layer. I need a foreground 3D plane in front of the 2D background sprite, but because of the sprite shader, the 3D mesh plane is drawn behind the background. Was wondering if there is a way to fix this?
If you have the plane use one of the sprite shaders, then you can do renderer.sortingLayerID = x, where x is a higher layer than the one used by the sprite.
Thanks Eric that worked. Is there someone at Unity I can contact to tell them their documentation on Renderer.sortingOrder, Renderer.sortingLayerName, and Renderer.sortingLayerID is blank?