Skip to content

Instantly share code, notes, and snippets.

@rutvik110
Last active June 5, 2022 06:30
Show Gist options
  • Save rutvik110/ae75fe5eb27a2eefb224573618c22f7f to your computer and use it in GitHub Desktop.
Save rutvik110/ae75fe5eb27a2eefb224573618c22f7f to your computer and use it in GitHub Desktop.
#ifdef GL_ES
precision mediump float;
#endif
uniform vec2 u_resolution;
void main() {
vec2 uv = gl_FragCoord.xy/u_resolution.xy;
gl_FragColor = vec4(uv.x,uv.y,1.0,1.0);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment