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.
space-war/assets/shaders/fragment.shader

12 lines
176 B
Plaintext
Raw Permalink Normal View History

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