Created
November 13, 2014 02:01
-
-
Save nasser/23dc618880c6aee66d1c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void main(void) | |
{ | |
vec2 px = gl_FragCoord.xy - mod(gl_FragCoord.xy, 10.); | |
vec2 uv = px / iResolution.xy * vec2(1., -1.); | |
gl_FragColor = texture2D(iChannel0, uv); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment