mirror of
https://github.com/QIDITECH/QIDISlicer.git
synced 2026-01-30 23:48:44 +03:00
14 lines
193 B
Forth
14 lines
193 B
Forth
|
|
#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);
|
||
|
|
}
|