Light Cluster | High Definition RP | 10.0.0-preview.27
docs.unity3d.com
    Show / Hide Table of Contents

    Light Cluster

    To compute light bounces for ray-traced effects, such as Reflections, Global Illumination, Recursive Rendering, or path tracing. HDRP uses a structure to store the set of Lights that affect each region. In rasterization, HDRP uses the tile structure for opaque objects and the cluster structure for transparent objects. The main difference between these two structures and this one used for ray tracing is that this one is not based on the Camera frustum. For ray tracing, HDRP builds an axis-aligned grid which, in each cell, stores the list of Lights to fetch if an intersection occurs in that cell. Use this Volume Override to change how HDRP builds this structure.

    Light Cluster Debug Mode: The red regions show where the number of lights per cell is equal to the maximum number of lights per cell.

    Using a Light Cluster

    Light Clusters use the Volume framework, so to enable this feature, and modify its properties, you need to add a Light Cluster override to a Volume in your Scene. To do this:

    1. In the Scene or Hierarchy view, select a GameObject that contains a Volume component to view it in the Inspector.
    2. In the Inspector, navigate to Add Override > Ray Tracing and click on Light Cluster.

    Properties

    Property Description
    Camera Cluster Range The range of the cluster grid. The cluster grid itself has its center on the Camera's position and extends in all directions because an intersection may occur outside of the Camera frustum.
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023