Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/runtime/shaders/distancefieldtext.vert b/src/runtime/shaders/distancefieldtext.vert
- index 879545f..13d94d1 100644
- --- a/src/runtime/shaders/distancefieldtext.vert
- +++ b/src/runtime/shaders/distancefieldtext.vert
- @@ -58,7 +58,7 @@ highp float determinant(highp mat4 m)
- void main()
- {
- highp float scale = fontScale * sqrt(abs(determinant(modelView)));
- - alphas = alphaRange(scale);
- + alphas = alphaRange(fontScale);
- sampleCoord = tCoord * highp vec2(1.0 / highp float(textureWidth), 1.0 / highp float(textureHeight));
- gl_Position = mvp * vCoord;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement