added chroma key

This commit is contained in:
itsmattkc
2018-11-18 02:22:11 +11:00
parent fcfc685ebe
commit 456103df2f
8 changed files with 79 additions and 15 deletions
+1 -1
View File
@@ -4,6 +4,6 @@ uniform sampler2D tex;
varying vec2 vTexCoord;
void main(void) {
vec4 textureColor = texture2D(tex, vec2(vTexCoord.x, vTexCoord.y));
vec4 textureColor = texture2D(tex, vTexCoord);
gl_FragColor = textureColor;
}