summaryrefslogtreecommitdiffstats
path: root/src/Runtime/res/effectlib/distancefieldtext_dropshadow_core.vert
diff options
context:
space:
mode:
Diffstat (limited to 'src/Runtime/res/effectlib/distancefieldtext_dropshadow_core.vert')
-rw-r--r--src/Runtime/res/effectlib/distancefieldtext_dropshadow_core.vert25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/Runtime/res/effectlib/distancefieldtext_dropshadow_core.vert b/src/Runtime/res/effectlib/distancefieldtext_dropshadow_core.vert
deleted file mode 100644
index 7d9736e5..00000000
--- a/src/Runtime/res/effectlib/distancefieldtext_dropshadow_core.vert
+++ /dev/null
@@ -1,25 +0,0 @@
-in vec3 vCoord;
-in vec2 tCoord;
-in vec4 textureBounds;
-
-out vec2 sampleCoord;
-out vec2 shadowSampleCoord;
-
-out vec4 normalizedTextureBounds;
-
-uniform mat4 mvp;
-uniform int textureWidth;
-uniform int textureHeight;
-uniform float fontScale;
-uniform vec2 shadowOffset;
-
-void main()
-{
- vec2 textureSizeMultiplier = vec2(1.0 / float(textureWidth), 1.0 / float(textureHeight));
-
- sampleCoord = tCoord * textureSizeMultiplier;
- shadowSampleCoord = (tCoord - shadowOffset) * textureSizeMultiplier;
- normalizedTextureBounds = vec4(textureBounds.xy * textureSizeMultiplier,
- textureBounds.zw * textureSizeMultiplier);
- gl_Position = mvp * vec4(vCoord, 1.0);
-}