mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 15:14:50 +00:00
Fix View by adding missing fields present in ViewUniform (#5512)
# Objective View mesh2d_view_types.wgsl was missing a couple of fields present in bevy::render::ViewUniform, causing rendering issues for shaders using later fields. ## Solution Solved by adding the fields in question
This commit is contained in:
parent
0149c4145f
commit
6752c9c59b
1 changed files with 2 additions and 0 deletions
|
@ -2,9 +2,11 @@
|
|||
|
||||
struct View {
|
||||
view_proj: mat4x4<f32>,
|
||||
inverse_view_proj: mat4x4<f32>,
|
||||
view: mat4x4<f32>,
|
||||
inverse_view: mat4x4<f32>,
|
||||
projection: mat4x4<f32>,
|
||||
inverse_projection: mat4x4<f32>,
|
||||
world_position: vec3<f32>,
|
||||
width: f32,
|
||||
height: f32,
|
||||
|
|
Loading…
Reference in a new issue