diff options
Diffstat (limited to 'Test/enhanced.3.vert')
-rw-r--r-- | Test/enhanced.3.vert | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Test/enhanced.3.vert b/Test/enhanced.3.vert new file mode 100644 index 00000000..043ee246 --- /dev/null +++ b/Test/enhanced.3.vert @@ -0,0 +1,22 @@ +#version 450 core + +layout (location = 0) in vec3 aPos; +layout (location = 1) in vec2 aTexCoords; + +layout (binding = 0) uniform anonblock { + mat4 model; + mat4 view; + mat4 projection; +} ; + +layout (location = 0) out VS_OUT +{ + vec2 TexCoords; +} vs_out; + +void main() +{ + gl_Position = projection * view * model * vec4(aPos, 1.0); + vs_out.TexCoords = aTexCoords; +} + |