2020-09-21 21:01:22 +00:00
|
|
|
|
2020-09-25 17:35:58 +00:00
|
|
|
out vec4 sk_FragColor;
|
2021-03-15 18:58:57 +00:00
|
|
|
uniform vec4 src;
|
|
|
|
uniform vec4 dst;
|
2020-09-25 17:35:58 +00:00
|
|
|
void main() {
|
2020-12-17 19:38:56 +00:00
|
|
|
sk_FragColor = vec4(((1.0 - src.w) * dst.xyz + (1.0 - dst.w) * src.xyz) + src.xyz * dst.xyz, src.w + (1.0 - src.w) * dst.w);
|
2020-09-21 21:01:22 +00:00
|
|
|
}
|