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.
 
 
 
 
 

14 lines
186 B

ps.1.1
// Alpha blend layers, output base alpha
//
// Color is t0 * (1 - t1.a) + t1 * t1.a
// Alpha is t0.a
tex t0
tex t1
lrp r0.rgb, t1.a, t1, t0
mov r0.a, t0;
mul r0, r0, v0;