mirror of https://github.com/PCSX2/pcsx2.git
6b48cf574d
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. |
||
---|---|---|
.. | ||
common_header.glsl | ||
convert.glsl | ||
interlace.glsl | ||
merge.glsl | ||
present.glsl | ||
shadeboost.glsl | ||
tfx_fs.glsl | ||
tfx_vgs.glsl |