From f7c6725f6319ad85292eac1c809912d84f84ba1b Mon Sep 17 00:00:00 2001 From: David Rowe Date: Sat, 12 Mar 2016 23:24:52 +1300 Subject: [PATCH] Improve text3d rendering --- libraries/render-utils/src/sdf_text3D.slf | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libraries/render-utils/src/sdf_text3D.slf b/libraries/render-utils/src/sdf_text3D.slf index 1e11cd984d..854221a5cf 100644 --- a/libraries/render-utils/src/sdf_text3D.slf +++ b/libraries/render-utils/src/sdf_text3D.slf @@ -21,12 +21,10 @@ in vec3 _normal; in vec2 _texCoord0; const float gamma = 2.2; -const float smoothing = 256.0; +const float smoothing = 32.0; const float interiorCutoff = 0.8; const float outlineExpansion = 0.2; - - void main() { // retrieve signed distance float sdf = texture(Font, _texCoord0).g;