Skip to content

Instantly share code, notes, and snippets.

@eodabash
Created August 8, 2015 17:15
Show Gist options
  • Save eodabash/bdaf2341f49d504b19e9 to your computer and use it in GitHub Desktop.
Save eodabash/bdaf2341f49d504b19e9 to your computer and use it in GitHub Desktop.
#version 300 es
precision mediump float;
uniform sampler2D mySamplers[2];
in vec2 texCoord;
out vec4 outColor;
void main() {
vec4 s1 = texture(mySamplers[0], texCoord);
vec4 s2 = texture(mySamplers[1], texCoord);
outColor = s1 + s2;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment