projekt_grafika/cw 2/shaders/shader_particle.frag
2022-02-02 00:25:38 +01:00

11 lines
179 B
GLSL

#version 330 core
in vec2 TexCoords;
in vec4 ParticleColor;
out vec4 color;
uniform sampler2D sprite;
void main()
{
color = (texture(sprite, TexCoords) * ParticleColor);
}