source: opengl-game/color.vert@ fc424f6

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

Add support for loading and applying texture and add a square to the scene with a demo texture

  • Property mode set to 100644
File size: 260 bytes
Line 
1#version 410
2
3uniform mat4 model, view, proj;
4
5layout(location = 0) in vec3 vertex_position;
6layout(location = 1) in vec3 vertex_color;
7
8out vec3 color;
9
10void main() {
11 color = vertex_color;
12 gl_Position = proj * view * model * vec4(vertex_position, 1.0);
13}
Note: See TracBrowser for help on using the repository browser.