bevy icon indicating copy to clipboard operation
bevy copied to clipboard

Add automatic depth/shadow shaders for arbitrary materials

Open NthTensor opened this issue 1 year ago • 0 comments

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 https://github.com/bevyengine/bevy/pull/5896, but implementation stalled. See that PR for suggested approach and reference.

NthTensor avatar Aug 24 '24 03:08 NthTensor