Temporarily removing the shaders examples

This commit is contained in:
Casey Reas
2012-08-31 17:12:41 +00:00
parent 64d698197e
commit 8b1e862c35
25 changed files with 0 additions and 1118 deletions

View File

@@ -1,12 +0,0 @@
uniform sampler2D textureSampler;
uniform sampler2D maskSampler;
uniform vec2 texcoordOffset;
varying vec4 vertColor;
varying vec4 vertTexcoord;
void main() {
vec4 texColor = texture2D(textureSampler, vertTexcoord.st).rgba;
vec4 maskColor = texture2D(maskSampler, vec2(vertTexcoord.s, 1.0 - vertTexcoord.t)).rgba;
gl_FragColor = mix(texColor, vec4(0, 0, 0, 0), 1.0 - maskColor.r);
}