mirror of
https://github.com/bevyengine/bevy
synced 2024-11-23 05:03:47 +00:00
740ae9a37f
# 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. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |