Created
August 8, 2015 17:15
-
-
Save eodabash/bdaf2341f49d504b19e9 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
#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