fragment_shader top-level constant
String
const fragment_shader
Implementation
const fragment_shader = """
#version 300 es
precision mediump float;
uniform sampler2D Texture0;
in vec2 TextureCoordsVarying;
out vec4 fragColor;
void main (void) {
vec4 mask = texture(Texture0, TextureCoordsVarying);
fragColor = vec4(mask.rgb, mask.a);
}
""";