GRK_Project/cw 9/particles.frag
2023-02-09 14:18:46 +01:00

13 lines
182 B
GLSL

#version 330 core
in vec2 UV;
in vec4 particlecolor;
out vec4 color;
uniform sampler2D myTextureSampler;
void main(){
color = texture( myTextureSampler, UV ) * particlecolor;
}