aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/shaders/loqsubpixeldistancefieldtext.frag
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/scenegraph/shaders/loqsubpixeldistancefieldtext.frag')
-rw-r--r--src/quick/scenegraph/shaders/loqsubpixeldistancefieldtext.frag17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/quick/scenegraph/shaders/loqsubpixeldistancefieldtext.frag b/src/quick/scenegraph/shaders/loqsubpixeldistancefieldtext.frag
deleted file mode 100644
index 61b6c8dd9a..0000000000
--- a/src/quick/scenegraph/shaders/loqsubpixeldistancefieldtext.frag
+++ /dev/null
@@ -1,17 +0,0 @@
-varying highp vec3 sampleNearLeft;
-varying highp vec3 sampleNearRight;
-
-uniform sampler2D _qt_texture;
-uniform lowp vec4 color;
-uniform mediump float alphaMin;
-uniform mediump float alphaMax;
-
-void main()
-{
- highp vec2 n;
- n.x = texture2DProj(_qt_texture, sampleNearLeft).a;
- n.y = texture2DProj(_qt_texture, sampleNearRight).a;
- n = smoothstep(alphaMin, alphaMax, n);
- highp float c = 0.5 * (n.x + n.y);
- gl_FragColor = vec4(n.x, c, n.y, c) * color.w;
-} \ No newline at end of file