brimstone/shader.vert

13 lines
218 B
GLSL
Raw Normal View History

2024-11-04 12:32:36 +13:00
#version 460
layout(location = 0) in vec3 aPos;
layout(location = 1) in vec3 aColor;
layout(location = 0) out vec4 vertColor;
void main() {
vertColor = vec4(aColor, 1.0f);
gl_Position = vec4(aPos, 1.0f);
}