grakopro/cw_8/shaders/part.frag

12 lines
231 B
GLSL

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