mirror of
https://github.com/QIDITECH/QIDISlicer.git
synced 2026-02-02 17:08:42 +03:00
QIDISlicer1.0.0
This commit is contained in:
13
resources/shaders/140/background.fs
Normal file
13
resources/shaders/140/background.fs
Normal file
@@ -0,0 +1,13 @@
|
||||
#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);
|
||||
}
|
||||
Reference in New Issue
Block a user