1 2 3 4 5 6 7 8
#version 100 varying mediump vec4 varyingColor; mediump vec4 calculateColor() { return varyingColor * 0.5; }