Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@appspell
Created March 4, 2021 13:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save appspell/93c1b9c60a5e81dde348c4358af2fc23 to your computer and use it in GitHub Desktop.
Save appspell/93c1b9c60a5e81dde348c4358af2fc23 to your computer and use it in GitHub Desktop.
#version 300 es
precision mediump float;
uniform vec4 uMyUniform;
in vec2 textureCoord;
out vec4 fragColor;
void main() {
fragColor = vec4(textureCoord.x, textureCoord.y, 1.0, 1.0) * uMyUniform;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment