This commit is contained in:
1 parent
c8ac4fcae5
commit
4cee170d66
17576 files changed
+895740
-2
No files matched your search
@@ -0,0 +1,14 @@
|
||||
#version 330 core
|
||||
|
||||
uniform mat4 worldMatrix;
|
||||
|
||||
layout(location = 0) in vec2 position;
|
||||
layout(location = 1) in vec4 color;
|
||||
|
||||
out vec4 vertexColor;
|
||||
|
||||
void main()
|
||||
{
|
||||
vertexColor = color;
|
||||
gl_Position = vec4(position, 0.0, 1.0);
|
||||
}
|
||||
Reference in new issue
Block a user