02/shaders/shader.vert

10 lines
129 B
GLSL

#version 330 core
layout(location = 0) in vec3 pos;
void main()
{
gl_Position.xyz = pos;
gl_Position.w = 1.0;
}