Ability to draw meshes in 2d with the new renderer #3326
Labels
A-Rendering
Drawing game state to the screen
C-Feature
A new feature, making something new possible
P-Regression
Functionality that used to work but no longer does. Add a test for this!
Milestone
What problem does this solve or what need does it fill?
Using the old renderer it was possible to draw shapes using meshes with
SpriteBundle
s. However with the new rendererSpriteBundle
s no longer haveMesh
es andMaterial
s. I've tried to convert them toPbrBundle
s instead, but nothing gets drawn. This might be because there is no lighting. François said on Discord that custom meshes in 2d are not supported by default anymore.What solution would you like?
I'm not sure what the best solution to fix this would be since I'm very new to rendering, but one of the following might do:
Additional context
Alternative ways to draw custom shapes also exist. However both
bevy_lyon
andbevy_svg
also use meshes in their implementations and haven't been updated yet.The text was updated successfully, but these errors were encountered: