mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-20 10:09:08 +08:00
Partial revert of 0260c81c9e2b715b69550b5c99e0cbb8d5503021 - OpenGL ES 2.0 set as minimum version Fixed shaders version
14 lines
193 B
GLSL
14 lines
193 B
GLSL
#version 100
|
|
|
|
precision highp float;
|
|
|
|
uniform vec4 top_color;
|
|
uniform vec4 bottom_color;
|
|
|
|
varying vec2 tex_coord;
|
|
|
|
void main()
|
|
{
|
|
gl_FragColor = mix(bottom_color, top_color, tex_coord.y);
|
|
}
|