bevy/crates/bevy_sprite
Charles 740ae9a37f remove mandatory mesh attributes (#6127)
# Objective

- It's possible to create a mesh without positions or normals, but currently bevy forces these attributes to be present on any mesh.

## Solution

- Don't assume these attributes are present and add a shader defs for each attributes
- I updated 2d and 3d meshes to use the same logic.

---

## Changelog

- Meshes don't require any attributes

# Notes
I didn't update the pbr.wgsl shader because I'm not sure how to handle it. It doesn't really make sense to use it without positions or normals.
2022-10-10 17:58:15 +00:00
..
src remove mandatory mesh attributes (#6127) 2022-10-10 17:58:15 +00:00
Cargo.toml remove copyless (#6100) 2022-09-27 18:11:40 +00:00