Dengine/data/shaders/sprite.frag.glsl
Doyle Thai 6f7f9fa50a Sprite uses unique vao for rendering
Remove notation of "m" in member variables.
2016-06-08 01:35:00 +10:00

12 lines
127 B
GLSL

#version 330 core
in vec2 texCoord;
out vec4 color;
uniform sampler2D tex;
void main()
{
color = texture(tex, texCoord);
}