How can I change the color of the application surface using a texture?
https://en.wikipedia.org/wiki/List_of_8-bit_computer_hardware_palettes
My fragment shader looks like this:
varying vec2 v_vTexcoord;
varying vec4 v_vColour;
void main()
{
gl_FragColor = v_vColour * texture2D( gm_BaseTexture, v_vTexcoord );
}