D3D11HostDisplay: Fix alpha channel of lightgun crosshair

This commit is contained in:
Connor McLaughlin
2021-05-08 02:11:02 +10:00
parent 8a39969a61
commit e84fe4d948
5 changed files with 144 additions and 3 deletions

View File

@@ -4,5 +4,9 @@ SamplerState samp0_ss : register(s0);
void main(in float2 v_tex0 : TEXCOORD0,
out float4 o_col0 : SV_Target)
{
#ifdef ALPHA
o_col0 = samp0.Sample(samp0_ss, v_tex0);
#else
o_col0 = float4(samp0.Sample(samp0_ss, v_tex0).rgb, 1.0);
#endif
}