summaryrefslogtreecommitdiffstats
path: root/src/Runtime/res/effectlib/distancefieldtext_dropshadow.vert
diff options
context:
space:
mode:
Diffstat (limited to 'src/Runtime/res/effectlib/distancefieldtext_dropshadow.vert')
-rw-r--r--src/Runtime/res/effectlib/distancefieldtext_dropshadow.vert3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Runtime/res/effectlib/distancefieldtext_dropshadow.vert b/src/Runtime/res/effectlib/distancefieldtext_dropshadow.vert
index f645eb8c..f633aaa5 100644
--- a/src/Runtime/res/effectlib/distancefieldtext_dropshadow.vert
+++ b/src/Runtime/res/effectlib/distancefieldtext_dropshadow.vert
@@ -1,5 +1,4 @@
uniform highp mat4 mvp;
-uniform highp mat4 modelView;
uniform highp float fontScale;
uniform int textureWidth;
uniform int textureHeight;
@@ -63,7 +62,7 @@ highp float determinant(highp mat4 m)
void main()
{
- highp float scale = fontScale * sqrt(abs(determinant(modelView)));
+ highp float scale = fontScale * sqrt(abs(determinant(mvp)));
alphas = alphaRange(scale);
highp vec2 textureSizeMultiplier = vec2(1.0 / highp float(textureWidth),