bevy/examples/2d
Herbert "TheBracket a6eb3fa6d6 Apply vertex colors to ColorMaterial and Mesh2D (#4812)
# Objective

- Add Vertex Color support to 2D meshes and ColorMaterial. This extends the work from #4528 (which in turn builds on the excellent tangent handling).

## Solution

- Added `#ifdef` wrapped support for vertex colors in the 2D mesh shader and `ColorMaterial` shader.
- Added an example, `mesh2d_vertex_color_texture` to demonstrate it in action.

![image](https://user-images.githubusercontent.com/14896751/169530930-6ae0c6be-2f69-40e3-a600-ba91d7178bc3.png)


---

## Changelog

- Added optional (ifdef wrapped) vertex color support to the 2dmesh and color material systems.
2022-05-30 16:59:45 +00:00
..
mesh2d.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00
mesh2d_manual.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00
mesh2d_vertex_color_texture.rs Apply vertex colors to ColorMaterial and Mesh2D (#4812) 2022-05-30 16:59:45 +00:00
move_sprite.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00
rotation.rs Split time functionality into bevy_time (#4187) 2022-05-26 00:27:18 +00:00
shapes.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00
sprite.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00
sprite_flipping.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00
sprite_sheet.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00
text2d.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00
texture_atlas.rs Enforce type safe usage of Handle::get (#4794) 2022-05-30 16:59:44 +00:00