#version 300 es precision mediump float; in vec2 position; in vec2 texCoord; in vec4 color; uniform mat4 projectionTransform; out vec4 vertColor; out vec2 vertTexCoord; void main() { vertTexCoord = texCoord; vertColor = color; gl_Position = projectionTransform * vec4(position, 0.0, 1.0); }