pcsx2/bin/resources/shaders/dx11
lightningterror 3b691da8d1 GS-hw: Implement alternative hw blending for Cs*Ad, Cs*Ad + Cd, Cd - Cs*Ad.
Alpha destination value is wrong so let us try to compensate.

Multiply Cs by (255/128) in shader.
Will work best if Cs is 0.5 or less,  if it's higher than 0.5 then the closer to 1 the less accurate it gets.

Ofc it is best to use sw blending but it will help if sw blending is not present/selected for specific draw, will help d3d11 quite more.
2022-01-27 12:09:35 +01:00
..
convert.fx GS/DX11: Implement merge feedback write 2022-01-09 16:35:34 +01:00
interlace.fx Resources: Move shaders to shared shader/ directory 2021-12-12 06:10:47 -06:00
merge.fx GS/DX11: Implement merge feedback write 2022-01-09 16:35:34 +01:00
shadeboost.fx Resources: Move shaders to shared shader/ directory 2021-12-12 06:10:47 -06:00
tfx.fx GS-hw: Implement alternative hw blending for Cs*Ad, Cs*Ad + Cd, Cd - Cs*Ad. 2022-01-27 12:09:35 +01:00