ALED
This commit is contained in:
@@ -31,8 +31,7 @@ float4 FontPixelShader(PixelInputType input) : SV_TARGET
|
||||
// If the color is black on the texture then treat this pixel as transparent.
|
||||
if (color.r == 0.0f && color.g == 0.0f && color.b == 0.0f)
|
||||
{
|
||||
color.a = 0.0f;
|
||||
return color;
|
||||
return color / color;
|
||||
}
|
||||
|
||||
// If the color is other than black on the texture then this is a pixel in the font so draw it using the font pixel color.
|
||||
|
Reference in New Issue
Block a user