Are there certain format restrictions that textures need to adhere too?
I am loading TGA files and drawing them with the following fragment shader:
varying vec2 v_texCoord;
uniform sampler2D s_texture;
uniform vec4 vColor4;
void main()
{
vec4 tmpColor = texture2D( s_texture, v_texCoord );
tmpColor.r = vColor4.r;
tmpColor.g = vColor4.g;
tmpColor.b = vColor4.b;
gl_FragColor = tmpColor;
}
I find that 16x16 images display OK. 64x16 display OK. 72x16, 80x16 and 96x16 doesn't work.
I will provide more information including the TGA files if needed.