SPIRV-Cross/shaders/flatten/basic.flatten.vert
2017-01-21 12:39:16 +01:00

16 lines
190 B
GLSL

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