Version: Unity 6.1 Alpha (6000.1)
Language : English
Enable the GPU Resident Drawer in URP
Enable GPU occlusion culling in URP

Make a GameObject compatible with the GPU Resident Drawer in URP

To make a GameObjectThe fundamental object in Unity scenes, which can represent characters, props, scenery, cameras, waypoints, and more. A GameObject’s functionality is defined by the Components attached to it. More info
See in Glossary
compatible with the GPU Resident Drawer, check it has the following properties:

  • Has a Mesh Renderer component.
  • In the MeshThe main graphics primitive of Unity. Meshes make up a large part of your 3D worlds. Unity supports triangulated or Quadrangulated polygon meshes. Nurbs, Nurms, Subdiv surfaces must be converted to polygons. More info
    See in Glossary
    Renderer component, Light ProbesLight probes store information about how light passes through space in your scene. A collection of light probes arranged within a given space can improve lighting on moving objects and static LOD scenery within that space. More info
    See in Glossary
    isn’t set to Use Proxy Volume.
  • Uses only static global illuminationA group of techniques that model both direct and indirect lighting to provide realistic lighting results.
    See in Glossary
    , not real time global illumination.
  • Uses a shaderA program that runs on the GPU. More info
    See in Glossary
    that supports DOTS instancing. Refer to Supporting DOTS Instancing for more information.
  • Doesn’t move position after one cameraA component which creates an image of a particular viewpoint in your scene. The output is either drawn to the screen or captured as a texture. More info
    See in Glossary
    finishes rendering and before another camera starts rendering.
  • Doesn’t use the MaterialPropertyBlock API.
  • Doesn’t have a script that uses a per-instance callback, for example OnRenderObject.

Exclude a GameObject from the GPU Resident Drawer

To exclude a GameObject from the GPU Resident Drawer, add a Disallow GPU Driven Rendering component to the GameObject.

  1. Select the GameObject.
  2. In the InspectorA Unity window that displays information about the currently selected GameObject, asset or project settings, allowing you to inspect and edit the values. More info
    See in Glossary
    window, select Add Component.
  3. Select Disallow GPU Driven Rendering.

Select Apply to Children Recursively to exclude both the GameObject and its children.

Additional resources


对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答
Enable the GPU Resident Drawer in URP
Enable GPU occlusion culling in URP
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961