#version 330 core attribute vec4 aPosition; attribute vec3 aColor; attribute vec2 aTexCoord; varying vec2 vTexCoord; varying vec3 color; void main() { color = aColor; gl_Position = aPosition; vTexCoord = aTexCoord; }