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

0.14 Migration: Consolidate binned render phases changes #1386

Closed
rparrett opened this issue Jun 11, 2024 · 7 comments · Fixed by #1491
Closed

0.14 Migration: Consolidate binned render phases changes #1386

rparrett opened this issue Jun 11, 2024 · 7 comments · Fixed by #1491
Labels
A-Migration Guides C-Correction A typo, problem or factual issue in what we've written
Milestone

Comments

@rparrett
Copy link
Contributor

rparrett commented Jun 11, 2024

The migration text for bevyengine/bevy#13277 is talking about types that didn't exist in Bevy 0.13. I think it needs to be consolidated with bevyengine/bevy#12453.

@rparrett rparrett added C-Bug A problem with the code that runs the site A-Migration Guides C-Correction A typo, problem or factual issue in what we've written and removed C-Bug A problem with the code that runs the site labels Jun 11, 2024
@alice-i-cecile alice-i-cecile added this to the Release v0.14 milestone Jun 11, 2024
@alice-i-cecile
Copy link
Member

Seconded by @djeedai here.

@djeedai
Copy link
Contributor

djeedai commented Jun 23, 2024

There's another issue, which might be an actual code bug, or just a lack of documentation : I can't make BinnedRenderPhase<AlphaMask3d> to work with non-mesh items (particle effects for Hanabi). It seems that batching::sort_binned_render_phase() does run, but after that none of the GPU pre-processing / no-pre-processing prepare systems run, so the render phase items added are never rendered. I believe this is because they both have a render condition, based on a particular resource being present, but that part is not documented and I've yet to understand if/how I should add those resources.

CC: @pcwalton as I think you wrote all of that and know Hanabi very well, you probably know already the answer? :)

@rparrett
Copy link
Contributor Author

rparrett commented Jun 23, 2024

It's possible you might find inspiration from bevy_ecs_tilemap's migration -- maybe a similar situation there where we're doing some very custom stuff with non-Meshs. (but uses a sorted phase)

I struggled with these particular changes myself and gave up, hence the ticket. CC also @ChristopherBiscardi who might be able to help with the migration guide.

@ChristopherBiscardi
Copy link
Contributor

I can try to help, I won't be able to look into it until Tuesday though.

@djeedai
Copy link
Contributor

djeedai commented Jun 24, 2024

Nope, that migration doesn't help, there's nothing about binned render phase.

@ChristopherBiscardi
Copy link
Contributor

its looking like bevyengine/bevy#14029 will be included in this consolidation as well.

@BD103
Copy link
Member

BD103 commented Jul 1, 2024

To summarize, the following migration guides need to be merged and improved:

Feel free to ping me when you need a review, though I'll do more style than content checking. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Migration Guides C-Correction A typo, problem or factual issue in what we've written
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants