mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +02:00
Improve text3d rendering
This commit is contained in:
parent
c93ed7c6f7
commit
f7c6725f63
1 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue