fragment_shader property
Implementation
final 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);
}
""";