1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#ifdef GL_ES #define MEDIUMP mediump #define HIGHP highp #else #define MEDIUMP #define HIGHP #endif varying vec4 mgl_TexCoord0; uniform sampler2D mgl_ActiveTexture; void main (void) { gl_FragColor = vec4(texture2D(mgl_ActiveTexture, mgl_TexCoord0.st).rgb, 1.0); }