11 lines
179 B
GLSL
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);
|
|
} |