Skip to content

Commit 7f8555d

Browse files
committed
fix wrong output of TMPRO shader introduce from pr 237
1 parent 8f6b095 commit 7f8555d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/Scripts/Extensions/TextMeshPro/Shaders/FairyGUI-TMP.shader

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ SubShader {
466466
faceColor.a *= clamp(min(factor.x, factor.y), 0.0, 1.0);
467467
clip(faceColor.a - 0.001);
468468
#endif
469-
return half4(faceColor.rgb, input.color.a * faceColor.a);
469+
return faceColor * input.color.a;
470470
}
471471

472472
ENDCG

0 commit comments

Comments
 (0)