Closed
Description
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 renderer SpriteBundle
s no longer have Mesh
es and Material
s. I've tried to convert them to PbrBundle
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:
- Automatic lighting for 2d
- A new bundle for 2d meshes
- A modified pipeline for 2d
Additional context
Alternative ways to draw custom shapes also exist. However both bevy_lyon
and bevy_svg
also use meshes in their implementations and haven't been updated yet.