This repository has been archived on 2022-06-25. You can view files and clone it, but cannot push or open issues or pull requests.
helium/src/resources/shaders/mainVertex.glsl

11 lines
193 B
GLSL

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