ecsgame/Shaders/default-vertex.vs

12 lines
233 B
Plaintext
Raw Normal View History

#version 320 es
2020-01-07 15:35:12 +01:00
layout (location = 0) in vec3 aPos;
layout (location = 1) in vec3 uvPos;
2020-01-07 15:35:12 +01:00
uniform mat4 model;
uniform mat4 view;
uniform mat4 projection;
void main()
{
2020-01-07 15:35:12 +01:00
gl_Position = projection * view * model * vec4(aPos, 1.0);
}