GRK_Project/cw 9/particles.frag

13 lines
182 B
GLSL
Raw Normal View History

2023-02-09 14:18:46 +01:00
#version 330 core
in vec2 UV;
in vec4 particlecolor;
out vec4 color;
uniform sampler2D myTextureSampler;
void main(){
color = texture( myTextureSampler, UV ) * particlecolor;
}