source: opengl-game/test.frag@ d0b9596

feature/imgui-sdl points-test
Last change on this file since d0b9596 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
RevLine 
[ec4456b]1#version 410
2
[8b7cfcf]3in vec3 color;
4out vec4 frag_color;
[ec4456b]5
6void main() {
[8b7cfcf]7 frag_color = vec4(color, 1.0);
[ec4456b]8}
Note: See TracBrowser for help on using the repository browser.