This repository has been archived on 2020-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
Files
YASMIN/res/gl/fragment1.glsl
2016-07-15 16:39:38 +02:00

17 lines
289 B
GLSL

#ifdef GL_ES
// Set default precision to medium
precision mediump int;
precision mediump float;
#endif
uniform sampler2D texture;
varying vec2 v_texcoord;
void main()
{
// Set fragment color from texture
gl_FragColor = texture2D(texture, v_texcoord);
gl_FragColor = vec4(1,1,1,1);
}