1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-19 19:59:09 +00:00
Files
CWE-ou-minkata/Sources/Plasma/PubUtilLib/plSurface/ShaderSrc/ps_CalphaAadd.inl
rarified a553708b5b Change all CRLF-text files to LF-text files
to match H'uru for patching
2021-01-28 12:08:00 -07:00

15 lines
197 B
C++

ps.1.1
// Alpha blend color, output sum of alphas
// Color is t0 * (1 - t1.a) + t1 * t1.a
// Alpha is t0.a + t1.a
tex t0
tex t1
lrp r0.rgb, t1.a, t1, t0
add r0.a, t0, t1;
mul r0, r0, v0;