pcsx2/bin/resources/shaders/opengl
lightningterror 6b48cf574d GS-hw: Adjust how we handle specific blend mix cases.
Replace Cs*As + Cd*(1 - As) with Cs*As - Cd*(As - 1).
Replace Cs*F + Cd*(1 - F) with Cs*F - Cd*(F - 1).
As - 1 or F - 1 subtraction is only done for the dual source output (hw blending part)
since we are changing the equation.
Af will be replaced with As in shader and send it to dual source output.

Also check if A*Alpha in the shader overflows, if it does then adjust the
alpha that is sent for HW blending further to compensate.
2022-08-07 14:08:04 +02:00
..
common_header.glsl GS:HW: Don't scale rt when converting to texture 2022-02-01 01:24:35 +00:00
convert.glsl GS: Split convert and present shaders 2022-06-05 21:27:16 +01:00
interlace.glsl GS: Offset interlace when upscaling 2022-05-24 18:03:07 +01:00
merge.glsl GS/OpenGL: Get rid of interface blocks for convert shaders 2021-12-26 13:21:51 +00:00
present.glsl GS: Add lottes crt to present shader. 2022-06-22 16:26:19 +02:00
shadeboost.glsl GS: Put shadeboost params in uniforms 2022-03-28 09:24:51 +02:00
tfx_fs.glsl GS-hw: Adjust how we handle specific blend mix cases. 2022-08-07 14:08:04 +02:00
tfx_vgs.glsl GS: Use hardware point/line expansion where supported in GL 2022-01-02 15:06:39 +00:00