CustomRenderer Simple example of a custom Renderer supporting lighting/shadows using CommandBuffer.DrawMesh and deferred rendering in Unity Demonstrates writing into GBuffer and shadow map. Last verified on Unity 2017.1.0p4.