Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    Render groups and masks

    Intermediate Designer

    With render groups and render masks, you can choose which parts of your scene are rendered by different cameras. For example, you can have a model be visible to Camera A but invisible to Camera B.

    Set a render group

    1. In the scene, select the entity with the component (such as a model or UI component) you want to add to a render group.

    2. In the Property Grid, next to Render group, select the group you want the entity to belong to.

      Select render group

    Set a render mask

    The render mask filters which groups are rendered.

    1. In the Asset View (in the bottom pane by default), double-click the Graphics Compositor asset.

      Graphics Compositor asset

      The Graphics Compositor Editor opens.

      Graphics Compositor editor

    2. Select the Entry points node.

      Entry points node

    3. In the Property Grid, expand the renderer you want to render the model.

    4. Next to Render mask, click Change values and select the render groups you want the camera to render.

      Render mask

    See also

    • Cameras
    • Camera slots
    • Graphics compositor
    • Scene renderers
    • Render textures
    • Improve this Doc
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation