diff options
Diffstat (limited to 'src/quick/scenegraph/shaders/distancefieldtext.frag')
-rw-r--r-- | src/quick/scenegraph/shaders/distancefieldtext.frag | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/quick/scenegraph/shaders/distancefieldtext.frag b/src/quick/scenegraph/shaders/distancefieldtext.frag deleted file mode 100644 index 951fb2a825..0000000000 --- a/src/quick/scenegraph/shaders/distancefieldtext.frag +++ /dev/null @@ -1,13 +0,0 @@ -varying highp vec2 sampleCoord; - -uniform mediump sampler2D _qt_texture; -uniform lowp vec4 color; -uniform mediump float alphaMin; -uniform mediump float alphaMax; - -void main() -{ - gl_FragColor = color * smoothstep(alphaMin, - alphaMax, - texture2D(_qt_texture, sampleCoord).a); -}
\ No newline at end of file |