So I want to generate 2x2 dithering mask, simple checkers pattern. Here is my code:
It looks fine, but unfortunately, there are some ugly artifacts, that will twink and twitch if you move the camera even slightest.
I’ve tried to change my expression a bit, shuffle summands, but result is always the same.
What is it? Float float precision error? Any ideas how to fix it?