13 lines
182 B
GLSL
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;
|
||
|
|
||
|
}
|