source: opengl-game/test.frag@ 363d5ff

feature/imgui-sdl points-test
Last change on this file since 363d5ff was 8b7cfcf, checked in by Dmitry Portnoy <dmitry.portnoy@…>, 7 years ago

Allow each vertex to have its own color

  • Property mode set to 100644
File size: 100 bytes
Line 
1#version 410
2
3in vec3 color;
4out vec4 frag_color;
5
6void main() {
7 frag_color = vec4(color, 1.0);
8}
Note: See TracBrowser for help on using the repository browser.