opsu-dance/res/sh_Texture.frag

13 lines
207 B
GLSL
Raw Permalink Normal View History

2018-11-15 20:37:51 +01:00
#ifdef GL_ES
precision mediump float;
#endif
varying vec4 v_Color;
varying vec2 v_TexCoord;
uniform sampler2D m_Sampler;
void main(void)
{
2018-11-16 23:39:12 +01:00
gl_FragColor = v_Color * texture2D(m_Sampler, v_TexCoord);
2018-11-15 20:37:51 +01:00
}