fragment_shader.glsl Full Listing#
1 2 3 4 5 6 7 8 9 10 11 12 13 | #version 330 // Color passed in from the vertex shader in vec4 color; // The pixel we are writing to in the framebuffer out vec4 fragColor; void main() { // Fill the point fragColor = vec4(color); } |