how to change the color of the application surface, using the texture??
https://en.wikipedia.org/wiki/List_of_8-bit_computer_hardware_palettes
my fragment shader start in this way:
varying vec2 v_vTexcoord;
varying vec4 v_vColour;
void main()
{
gl_FragColor = v_vColour * texture2D( gm_BaseTexture, v_vTexcoord );
}
thanks