mirror of https://github.com/PCSX2/pcsx2.git
GS: Change transparency shader to output full alpha
This commit is contained in:
parent
4dbe17eaf9
commit
b706c25b68
|
@ -81,13 +81,8 @@ float ps_depth_copy(PS_INPUT input) : SV_Depth
|
|||
PS_OUTPUT ps_filter_transparency(PS_INPUT input)
|
||||
{
|
||||
PS_OUTPUT output;
|
||||
|
||||
float4 c = sample_c(input.t);
|
||||
|
||||
c.a = dot(c.rgb, float3(0.299, 0.587, 0.114));
|
||||
|
||||
output.c = c;
|
||||
|
||||
output.c = float4(c.rgb, 1.0);
|
||||
return output;
|
||||
}
|
||||
|
||||
|
|
|
@ -246,10 +246,7 @@ void ps_convert_rgba_8i()
|
|||
void ps_filter_transparency()
|
||||
{
|
||||
vec4 c = sample_c();
|
||||
|
||||
c.a = dot(c.rgb, vec3(0.299, 0.587, 0.114));
|
||||
|
||||
SV_Target0 = c;
|
||||
SV_Target0 = vec4(c.rgb, 1.0);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
@ -52,10 +52,7 @@ void ps_depth_copy()
|
|||
void ps_filter_transparency()
|
||||
{
|
||||
vec4 c = sample_c(v_tex);
|
||||
|
||||
c.a = dot(c.rgb, vec3(0.299, 0.587, 0.114));
|
||||
|
||||
o_col0 = c;
|
||||
o_col0 = vec4(c.rgb, 1.0);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue