Lightweight OpenGL 3D Renderer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Euclid/shaders/fragment.glsl

12 lines
177 B

2 years ago
#version 330 core
out vec4 FragColor;
in vec4 vertexColor;
2 years ago
uniform float r;
uniform float g;
uniform float b;
2 years ago
void main() {
FragColor = vertexColor + vec4(r, g, b, 1.0f);
2 years ago
}