Armature: Transparent Bone: Fix envelope not being alpha blended.

This commit is contained in:
Clément Foucault 2018-05-07 17:12:04 +02:00
parent 8ab3697e21
commit b0b2a47853
1 changed files with 1 additions and 1 deletions

View File

@ -12,5 +12,5 @@ void main()
float n = normalize(normalView).z;
float fac = clamp((n * (1.0 - s)) + s, 0.0, 1.0);
fragColor.rgb = mix(finalStateColor, finalBoneColor, fac);
fragColor.a = 1.0;
fragColor.a = 0.6; /* Hardcoded transparency factor. */
}