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
159 B
15 lines
159 B
4 years ago
|
|
||
|
ps.1.1
|
||
|
|
||
|
// Add blend color, output base alpha
|
||
|
|
||
|
// Color is t0 + t1
|
||
|
// Alpha is t0.a
|
||
|
|
||
|
tex t0;
|
||
|
tex t1;
|
||
|
|
||
|
add r0.rgb, t0, t1;
|
||
|
+mov r0.a, t0;
|
||
|
mul r0, r0, v0;
|