Assorted edits. Created new shaders.

This commit is contained in:
2014-05-06 16:36:46 -04:30
parent f04c5806d1
commit 31dd89f30e
7 changed files with 30 additions and 4 deletions

View File

@@ -0,0 +1,12 @@
#ifdef GL_ES
precision mediump float;
#endif
uniform sampler2D u_texture;
uniform vec2 u_scaling;
varying vec2 v_texCoords;
void main(){
gl_FragColor = texture2D(u_texture, v_texCoords * u_scaling);
}