Merge pull request #7336 from ctrlaltdavid/text3d-tuning

Improve text3d rendering
This commit is contained in:
Brad Hefta-Gaub 2016-03-14 18:59:06 -07:00
commit cf6a975a2b

View file

@ -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;