You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
212 B

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;