Projekt_grafika_komputerowa/shader_particle.frag
2022-02-11 16:31:49 +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);
}