What it does
Deferred Shading first stores surface information, such as color and direction, in images, then calculates lighting. The set of images holding that surface data is called the G-Buffer.
How to use it
Inspect Rendering Path on the Universal Renderer. Opaque surface information is stored before lighting, so shaders need compatible passes and the target API must support the path.
A concrete example
A scene with many overlapping small lights on opaque surfaces is worth comparing. A screen dominated by transparent effects can remain limited by a separate rendering path.
How to check it
- Compare matching resolution, lights and viewpoint against forward rendering.
Follow input, processing / condition, then output - Include G-buffer bandwidth/memory, GPU time, antialiasing support, transparent shaders and additional features.
Follow input, processing / condition, then output
Limitations
Lighting cost does not become constant; transparents generally use another path.