rhythmbullet/android/assets/shaders/default_frag.glsl

17 lines
271 B
Plaintext
Raw Normal View History

2017-06-07 00:06:57 +00:00
#ifdef GL_ES
#define LOWP lowp
precision mediump float;
#else
#define LOWP
#endif
varying LOWP vec4 v_color;
varying vec2 v_texCoords;
uniform sampler2D u_texture;
void main()
{
gl_FragColor = v_color * texture2D(u_texture, v_texCoords);
}