PrusaSlicer-NonPlainar/resources/shaders/140/background.fs
enricoturri1966 389dc36053 Tech ENABLE_GL_CORE_PROFILE - Use OpenGL core profile context - 1st installment
Fixed conflicts during rebase with master
2022-05-25 15:29:10 +02:00

14 lines
182 B
GLSL

#version 140
uniform vec4 top_color;
uniform vec4 bottom_color;
in vec2 tex_coord;
out vec4 out_color;
void main()
{
out_color = mix(bottom_color, top_color, tex_coord.y);
}