RedPanda-CPP/platform/windows/templates/GLFW/GLFW_shader.vs.txt

12 lines
194 B
Plaintext

#version 330 core
layout (location = 0) in vec3 position;
layout (location = 1) in vec3 color;
out vec3 ourColor;
void main()
{
gl_Position = vec4(position, 1.0f);
ourColor = color;
}