GRK-Projekt/grafika_projekt/shaders/particles.frag

13 lines
182 B
GLSL
Raw Normal View History

2022-01-24 18:07:31 +01:00
#version 330 core
in vec2 UV;
in vec4 particlecolor;
out vec4 color;
uniform sampler2D myTextureSampler;
void main(){
color = texture( myTextureSampler, UV ) * particlecolor;
}