14 lines
169 B
GLSL
14 lines
169 B
GLSL
|
#version 330 core
|
||
|
|
||
|
in vec2 UV;
|
||
|
in vec4 ParticleColor;
|
||
|
|
||
|
out vec4 color;
|
||
|
|
||
|
uniform sampler2D sprite;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
color = texture( sprite, UV ) * ParticleColor;
|
||
|
|
||
|
}
|