This repository has been archived on 2022-10-27. You can view files and clone it, but cannot push or open issues or pull requests.
InfinitShoot/shader/shader.frag

13 lines
175 B
GLSL

#version 330 core
in vec2 Texcoord;
out vec4 FragColor;
uniform vec4 Color;
uniform sampler2D Texture;
void main() {
FragColor = Color * texture(Texture, Texcoord);
}