diff options
Diffstat (limited to 'src/vs.glsl')
-rw-r--r-- | src/vs.glsl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/vs.glsl b/src/vs.glsl new file mode 100644 index 0000000..97f4a8f --- /dev/null +++ b/src/vs.glsl @@ -0,0 +1,9 @@ +in vec2 position; +in vec3 color; + +out vec3 v_color; + +void main() { + v_color = color; + gl_Position = vec4(position, 0., 1.); +} |