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:
Marius Cobzarenco 2022-02-16 22:57:15 +00:00
parent 936468aa1e
commit b0768a583d

View file

@ -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;