GLSL shader on a .png logo with swipe effect from left to right. I
问题 I am junior developer attempting to create a swipe effect from left to right. Where the logo disappears/gets erased from left to right and then appears from right to left. I've new to GLSL and have never programmed in C++. All my attempts have created varying results. The current result is that the logo it self gets compressed from left to right. So I would be very thankful if someone could give some advice as to code examples that have a similar effect or explain what i'm doing wrong here.