Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorporate OIT into MeshPipelineKey used by the LineGizmoPipeline #17946

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mweatherley
Copy link
Contributor

@mweatherley mweatherley commented Feb 20, 2025

Objective

Fixes #17945

Solution

Check if the view being extracted has OIT enabled and incorporate the associated bit into the mesh pipeline key.

I basically have no idea what's going on in the renderer, so let me know if I missed something, which is extraordinarily possible.

Testing

I modified the order_independent_transparency example to put everything on the default render layer and render a gizmo at the origin. Previously, this would cause the application to panic.

@mweatherley mweatherley added A-Rendering Drawing game state to the screen P-Crash A sudden unexpected crash S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Feb 20, 2025
@IceSentry IceSentry added the D-Trivial Nice and easy! A great choice to get started with Bevy label Feb 20, 2025
@mweatherley mweatherley added S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it and removed S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Rendering Drawing game state to the screen D-Trivial Nice and easy! A great choice to get started with Bevy P-Crash A sudden unexpected crash S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

Using OIT and gizmos together panics
3 participants