2020-09-21 21:01:22 +00:00
|
|
|
|
2020-09-25 17:35:58 +00:00
|
|
|
out vec4 sk_FragColor;
|
2020-10-06 18:43:32 +00:00
|
|
|
in vec4 src;
|
|
|
|
in vec4 dst;
|
2020-09-25 17:35:58 +00:00
|
|
|
void main() {
|
2021-02-25 16:17:02 +00:00
|
|
|
vec4 _0_result = src + (1.0 - src.w) * dst;
|
2020-12-15 20:21:03 +00:00
|
|
|
|
2021-02-25 16:17:02 +00:00
|
|
|
_0_result.xyz = min(_0_result.xyz, (1.0 - dst.w) * src.xyz + dst.xyz);
|
|
|
|
sk_FragColor = _0_result;
|
2020-09-21 21:01:22 +00:00
|
|
|
|
|
|
|
}
|