Skip to content

Add automatic depth/shadow shaders for arbitrary materials #14901

Open
@NthTensor

Description

What problem does this solve or what need does it fill?

Allow depth to be correctly calculated for all materials, including StandardMaterials with AlphaMode::Mask and materials with custom vertex/fragment shaders.

Originally attempted in #5896, but implementation stalled. See that PR for suggested approach and reference.

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-UsabilityA targeted quality-of-life change that makes Bevy easier to useD-ComplexQuite challenging from either a design or technical perspective. Ask for help!S-Adopt-MeThe original PR author has no intent to complete this work. Pick me up!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions