Skip to content

Implement a visibility layer system #598

@adriengivry

Description

@adriengivry

Problem this feature should fix

Currently, it's possible to include or exclude a material renderer from a render pass by toggling these checkboxes:

Image

However, in some cases, we may want a specific material renderer to be included in one reflection probe but excluded from another.

Expected solution

We should implement a system that allows material renderers to select which layers they belong to (e.g., layers 0 to 31). These layers could be represented as a matrix of toggleable buttons. Directional lights (which render shadows), reflection probes, and cameras will each have a layer mask setting that determines which layers a renderer must be part of to be included in rendering.

Metadata

Metadata

Assignees

No one assigned

    Labels

    GraphicsGraphical feature

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions