klecks
klecks copied to clipboard
Invert artifacts
- Tested in Chrome (Win10, macOS), Does not happen in Firefox (Win10)
- Paint with Blend brush on new layer
- Invert that layer a lot (10+ times)
- Artifacts will form. (Won't happen on a layer where all pixels are fully opaque)
Looks like an issue with Chromium. -> I will create a Chromium ticket.
Example (using this image: https://i.imgur.com/JtvO7zc.png)
Before:
After:
Artifacts in detail
It can be more pronounced than that.
Invert shader:
uniform sampler2D texture;
varying vec2 texCoord;
void main() {
vec4 color = texture2D(texture, texCoord);
gl_FragColor = vec4(1.0 - color.r, 1.0 - color.g, 1.0 - color.b, color.a);
}