diff options
Diffstat (limited to 'src/quick/scenegraph/shaders/outlinedtext.vert')
-rw-r--r-- | src/quick/scenegraph/shaders/outlinedtext.vert | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/quick/scenegraph/shaders/outlinedtext.vert b/src/quick/scenegraph/shaders/outlinedtext.vert deleted file mode 100644 index 9df832de3c..0000000000 --- a/src/quick/scenegraph/shaders/outlinedtext.vert +++ /dev/null @@ -1,24 +0,0 @@ -uniform highp mat4 matrix; -uniform highp vec2 textureScale; -uniform highp vec2 shift; -uniform highp float dpr; - -attribute highp vec4 vCoord; -attribute highp vec2 tCoord; - -varying highp vec2 sampleCoord; -varying highp vec2 sCoordUp; -varying highp vec2 sCoordDown; -varying highp vec2 sCoordLeft; -varying highp vec2 sCoordRight; - -void main() -{ - sampleCoord = tCoord * textureScale; - sCoordUp = (tCoord - vec2(0.0, -1.0)) * textureScale; - sCoordDown = (tCoord - vec2(0.0, 1.0)) * textureScale; - sCoordLeft = (tCoord - vec2(-1.0, 0.0)) * textureScale; - sCoordRight = (tCoord - vec2(1.0, 0.0)) * textureScale; - vec3 dprSnapPos = floor(vCoord.xyz * dpr + 0.5) / dpr; - gl_Position = matrix * vec4(dprSnapPos, vCoord.w); -}
\ No newline at end of file |