uniform ENG_MEDP mat4 matrix;
uniform ENG_MEDP vec4 colorAdd;
uniform ENG_MEDP vec4 colorScale;
attribute ENG_HIGHP vec4 vPos;
attribute ENG_MEDP vec4 vColorScale;
attribute ENG_MEDP vec4 vColorAdd;
attribute ENG_MEDP vec2 vTexc0;
varying ENG_MEDP vec4 fColorScale;
varying ENG_MEDP vec4 fColorAdd;
varying ENG_MEDP vec2 fTexc0;

void main() {
  gl_Position = matrix * vPos;
  fColorScale = colorScale * vColorScale;
  fColorAdd = colorAdd + vColorAdd;
  fTexc0 = vTexc0;
}
