uniform mat4 projection;
uniform mat4 model;
uniform vec4 colour;
uniform vec4 colour_filter;

attribute vec4 position;
attribute vec2 a_texture_coord;

varying vec4 vColor;
varying vec2 v_texture_coord;

void main()
{
  vColor = colour.rgba * colour_filter.rgba;
  gl_Position = projection * model * position;
  v_texture_coord = a_texture_coord;
}