aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/shaders/distancefieldoutlinetext.frag
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/scenegraph/shaders/distancefieldoutlinetext.frag')
-rw-r--r--src/quick/scenegraph/shaders/distancefieldoutlinetext.frag16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/quick/scenegraph/shaders/distancefieldoutlinetext.frag b/src/quick/scenegraph/shaders/distancefieldoutlinetext.frag
deleted file mode 100644
index 250ed322a1..0000000000
--- a/src/quick/scenegraph/shaders/distancefieldoutlinetext.frag
+++ /dev/null
@@ -1,16 +0,0 @@
-varying highp vec2 sampleCoord;
-
-uniform sampler2D _qt_texture;
-uniform lowp vec4 color;
-uniform lowp vec4 styleColor;
-uniform mediump float alphaMin;
-uniform mediump float alphaMax;
-uniform mediump float outlineAlphaMax0;
-uniform mediump float outlineAlphaMax1;
-
-void main()
-{
- mediump float d = texture2D(_qt_texture, sampleCoord).a;
- gl_FragColor = mix(styleColor, color, smoothstep(alphaMin, alphaMax, d))
- * smoothstep(outlineAlphaMax0, outlineAlphaMax1, d);
-} \ No newline at end of file