geometra/assets/shaders/sprite.frag

13 lines
181 B
GLSL

#version 150 core
uniform sampler2D Texture;
uniform vec4 Tint;
in vec2 TextureCoord;
out vec4 FragColor;
void main() {
FragColor = texture2D(Texture, TextureCoord) * Tint;
}