Restructered project and better building
This commit is contained in:
13
resources/shaders/vert.shader
Normal file
13
resources/shaders/vert.shader
Normal file
@@ -0,0 +1,13 @@
|
||||
#version 300 es
|
||||
|
||||
layout (location = 0) in vec2 aPos;
|
||||
layout (location = 1) in vec2 texCoord;
|
||||
|
||||
uniform mat4 MVP;
|
||||
|
||||
out vec2 TexCoord;
|
||||
|
||||
void main() {
|
||||
gl_Position = MVP * vec4(aPos.xy,0.0,1.0);
|
||||
TexCoord = texCoord;
|
||||
}
|
||||
Reference in New Issue
Block a user