mirror of
https://github.com/bevyengine/bevy
synced 2025-02-16 14:08:32 +00:00
Fix custom material glsl example using incorrect CameraViewProj (#3962)
# Objective The `custom_material.vert` shader used by the `shader_material_glsl` example is missing a `mat4 View` in `CameraViewProj` (added in [#3885](https://github.com/bevyengine/bevy/pull/3885)) ## Solution Update the definition of `CameraViewProj`
This commit is contained in:
parent
936468aa1e
commit
b0768a583d
1 changed files with 1 additions and 0 deletions
|
@ -6,6 +6,7 @@ layout(location = 2) in vec2 Vertex_Uv;
|
|||
|
||||
layout(set = 0, binding = 0) uniform CameraViewProj {
|
||||
mat4 ViewProj;
|
||||
mat4 View;
|
||||
mat4 InverseView;
|
||||
mat4 Projection;
|
||||
vec3 WorldPosition;
|
||||
|
|
Loading…
Add table
Reference in a new issue