Update twoD shaders

This commit is contained in:
jgk
2021-06-24 17:35:50 +02:00
parent 93936346f7
commit 7ab932db93
6 changed files with 8 additions and 28 deletions
-4
View File
@@ -1,12 +1,8 @@
#version 430 core
layout (location = 0) in vec3 position;
layout (location = 1) in vec4 color;
layout (std140, binding = 0) uniform TheMat { mat4 theMat; } ;
out vec4 vColor;
uniform mat4 worldMat;
void main()
{
gl_Position = theMat * vec4(position,1);