After adding another sprite to the project, the bug was gone. I think the shader has some calculation problems - I guess, it works incorrectly when it takes a sprite from the game's texture sheet if processing the numbers of the texture's size can't give integer or something.
Recent community posts
I'm using this shader in my project and it worked fine. But images, processed by the shader, started to appear incorrectly, simply after I add a large sprite in my project. Not even after trying using the large sprite. Efforts to fix this were fruitless. Can you help me out, please?