aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/shaders/styledtext.frag
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/scenegraph/shaders/styledtext.frag')
-rw-r--r--src/quick/scenegraph/shaders/styledtext.frag14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/quick/scenegraph/shaders/styledtext.frag b/src/quick/scenegraph/shaders/styledtext.frag
deleted file mode 100644
index 662dbef2fc..0000000000
--- a/src/quick/scenegraph/shaders/styledtext.frag
+++ /dev/null
@@ -1,14 +0,0 @@
-varying highp vec2 sampleCoord;
-varying highp vec2 shiftedSampleCoord;
-
-uniform sampler2D _qt_texture;
-uniform lowp vec4 color;
-uniform lowp vec4 styleColor;
-
-void main()
-{
- lowp float glyph = texture2D(_qt_texture, sampleCoord).a;
- lowp float style = clamp(texture2D(_qt_texture, shiftedSampleCoord).a - glyph,
- 0.0, 1.0);
- gl_FragColor = style * styleColor + glyph * color;
-} \ No newline at end of file