bevy/crates/bevy_sprite/src/mesh2d
Torstein Grindvik 38766faccb Refactor Globals and View structs into separate shaders (#7512)
fixes #6799 

# Objective

We should be able to reuse the `Globals` or `View` shader struct definitions from anywhere (including third party plugins) without needing to worry about defining unrelated shader defs.
Also we'd like to refactor these structs to not be repeatedly defined.

## Solution

Refactor both `Globals` and `View` into separate importable shaders.
Use the imports throughout.

Co-authored-by: Torstein Grindvik <52322338+torsteingrindvik@users.noreply.github.com>
2023-02-11 17:55:18 +00:00
..
color_material.rs add ReflectAsset and ReflectHandle (#5923) 2022-10-28 20:42:33 +00:00
color_material.wgsl Wgpu 0.15 (#7356) 2023-01-29 20:27:30 +00:00
material.rs Cleanup render schedule (#7589) 2023-02-10 03:32:54 +00:00
mesh2d_bindings.wgsl update wgpu to 0.13 (#5168) 2022-07-14 21:17:16 +00:00
mesh2d_functions.wgsl Add reusable shader functions for transforming position/normal/tangent (#4901) 2022-06-14 00:32:33 +00:00
mesh2d_types.wgsl update wgpu to 0.13 (#5168) 2022-07-14 21:17:16 +00:00
mesh2d_vertex_output.wgsl update wgpu to 0.13 (#5168) 2022-07-14 21:17:16 +00:00
mesh2d_view_bindings.wgsl Add globals struct to mesh2d (#6222) 2022-10-10 19:23:43 +00:00
mesh2d_view_types.wgsl Refactor Globals and View structs into separate shaders (#7512) 2023-02-11 17:55:18 +00:00
mesh2d.wgsl bevy_pbr: Fix incorrect and unnecessary normal-mapping code (#5766) 2022-11-03 20:37:32 +00:00
mesh.rs Migrate engine to Schedule v3 (#7267) 2023-02-06 02:04:50 +00:00
mod.rs Add 2d meshes and materials (#3460) 2022-01-08 01:29:08 +00:00