1 #version 300 es 2 3 uniform sampler2D sTexture; 4 5 in mediump vec2 texCoords; 6 layout(location = 0) out lowp vec4 oFragColour; 7 8 void main() 9 { 10 highp vec3 vCol = texture(sTexture, texCoords).rgb; 11 oFragColour = vec4(vCol, 1.0); 12 } 13