Minor Update - V8.1.0
[FIX] : - Alpha Shader [FEAT] : - Add Scene action in bar menu - Start to implemented Save And Load Logique
This commit is contained in:
@@ -28,10 +28,10 @@ float4 FontPixelShader(PixelInputType input) : SV_TARGET
|
||||
// Sample the texture pixel at this location.
|
||||
color = shaderTexture.Sample(SampleType, input.tex);
|
||||
|
||||
// If the color is black on the texture then treat this pixel as transparent.
|
||||
// If the color is black on the texture then discard this pixel.
|
||||
if (color.r == 0.0f && color.g == 0.0f && color.b == 0.0f)
|
||||
{
|
||||
return color / color;
|
||||
discard;
|
||||
}
|
||||
|
||||
// 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