#version 300 es precision mediump float; in vec2 vertTexCoord; in vec4 vertColor; uniform sampler2D colorTexture; out vec4 fragColor; void main() { fragColor = texture(colorTexture, vertTexCoord) * vertColor; }