grakopro/cw_8/shaders/part.frag

12 lines
231 B
GLSL
Raw Normal View History

2024-02-04 23:39:37 +01:00
#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);
}