daily pastebin goal
31%
SHARE
TWEET

Untitled

a guest Mar 22nd, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff --git a/src/runtime/shaders/distancefieldtext.vert b/src/runtime/shaders/distancefieldtext.vert
  2. index 879545f..13d94d1 100644
  3. --- a/src/runtime/shaders/distancefieldtext.vert
  4. +++ b/src/runtime/shaders/distancefieldtext.vert
  5. @@ -58,7 +58,7 @@ highp float determinant(highp mat4 m)
  6.  void main()
  7.  {
  8.      highp float scale = fontScale * sqrt(abs(determinant(modelView)));
  9. -    alphas = alphaRange(scale);
  10. +    alphas = alphaRange(fontScale);
  11.      sampleCoord = tCoord * highp vec2(1.0 / highp float(textureWidth), 1.0 / highp float(textureHeight));
  12.      gl_Position = mvp * vCoord;
  13.  }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top