source: opengl-game/shaders/shader.vert@ cae7a2c

feature/imgui-sdl points-test
Last change on this file since cae7a2c was 80edd70, checked in by Dmitry Portnoy <dmp1488@…>, 5 years ago

Use a vertex buffer to store the points to be rendered

  • Property mode set to 100644
File size: 220 bytes
RevLine 
[4befb76]1#version 450
2
[80edd70]3layout(location = 0) in vec2 inPosition;
4layout(location = 1) in vec3 inColor;
[4befb76]5
[80edd70]6layout(location = 0) out vec3 fragColor;
[4befb76]7
8void main() {
[80edd70]9 gl_Position = vec4(inPosition, 0.0, 1.0);
10 fragColor = inColor;
[4befb76]11}
Note: See TracBrowser for help on using the repository browser.