docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Understand the Graphics Compositor

    The Graphics Compositor allows for real-time compositing operations between Unity's High Definition Render Pipeline (HDRP) and external media sources, such as videos or images. Depending on the requirements for your application, the Graphics Compositor provides multiple composition techniques. You can use each technique independently or use more than one at the same time to create a combination of different types of composition operations. The techniques that the Graphics Compositor includes are:

    • Camera Stacking: Allows you to render multiple HDRP Cameras to the same render target.
    • Graph-Based Composition: Allows you to use arbitrary mathematical operations to combine multiple Composition Layers to generate the final frame.
    • 3D Composition: Allows you to use Composition Layers as 3D surfaces in a Unity Scene. This means that, for example, Unity can calculate reflections and refractions between different Composition Layers and GameObjects.

    The following table provides a high level overview of the advantages and disadvantages of each compositing technique:

    Technique Performance Memory Overhead Flexibility Feature Coverage [*]
    Camera Stacking High Low Low High
    Graph-Based Composition Low High High Low
    3D Composition Low High Low High

    [*] Feature Coverage indicates whether features such as screen-space reflections, transparencies or refractions can work between layers.

    The Graphics Compositor also includes functionality such as localized post-processing, where a Post-Processing Volume only affects certain GameObjects in the Scene.

    For an overview of the Graphics Compositor's functionality, refer to Use the Graphics Compositor. For a description on specific options in the user interface, refer to Graphics Compositor window reference.

    Limitation: The Graphics Compositor is not compatible with Virtual Reality.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)