Improve text3d rendering

This commit is contained in:
David Rowe 2016-03-12 23:24:52 +13:00
parent c93ed7c6f7
commit f7c6725f63

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;