SPIRV-Cross/shaders/vert/basic.vert
Hans-Kristian Arntzen 75471fbb98 Initial commit.
2016-03-11 16:30:27 +01:00

16 lines
198 B
GLSL

#version 310 es
layout(std140) uniform UBO
{
uniform mat4 uMVP;
};
in vec4 aVertex;
in vec3 aNormal;
out vec3 vNormal;
void main()
{
gl_Position = uMVP * aVertex;
vNormal = aNormal;
}