gedeng/Shader/particle_render.fs

14 lines
212 B
Forth
Raw Normal View History

#version 430
2021-05-08 13:11:20 +02:00
layout (binding = 0) uniform sampler2D texture;
smooth in vec2 tex_coords;
flat in vec4 color_part;
out vec4 FragColor;
void main()
{
2021-05-08 13:19:58 +02:00
FragColor = texture2D(texture, tex_coords) * color_part;
}