mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 12:04:18 +02:00
Merge pull request #7336 from ctrlaltdavid/text3d-tuning
Improve text3d rendering
This commit is contained in:
commit
cf6a975a2b
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