How to create a custom Bevy bundle from a bundle with custom material #11001
Unanswered
somamizobuchi
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My goal is to create a custom Bevy bundle that extends a built-in one so that I can reuse it. I tried to adapt this tutorial which uses
SpriteSheetBundle
instead of theMaterialMesh2DBundle
that I would like to use. I also use a custom fragment shader by modifying thematerial
to implementMaterial2D
. See below:Now, I would like to put this all into a bundle to reuse in my code. Something like:
So that eventually I can just use the custom bundle:
Beta Was this translation helpful? Give feedback.
All reactions