Merge pull request #70 from kvark/patch-1

Fix a mismatch in light VS versus FS varying of v_color
This commit is contained in:
sotrh 2020-07-09 16:40:08 -06:00 committed by GitHub
commit b3eaf739aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@
layout(location=0) in vec3 a_position;
layout(location=0) out vec4 v_color;
layout(location=0) out vec3 v_color;
layout(set=0, binding=0)
uniform Uniforms {
@ -23,5 +23,5 @@ void main() {
vec3 v_position = a_position * scale + u_position;
gl_Position = u_view_proj * vec4(v_position, 1);
v_color = vec4(u_color, 0);
}
v_color = u_color;
}