mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-08 22:35:15 -06:00
GCodeViewer -> Newer version of shader for options
This commit is contained in:
parent
aa04f0e555
commit
35190936a3
13 changed files with 187 additions and 98 deletions
11
resources/shaders/options_120_flat.vs
Normal file
11
resources/shaders/options_120_flat.vs
Normal file
|
@ -0,0 +1,11 @@
|
|||
#version 120
|
||||
|
||||
uniform float zoom;
|
||||
// x = min, y = max
|
||||
uniform vec2 point_sizes;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_PointSize = clamp(zoom, point_sizes.x, point_sizes.y);
|
||||
gl_Position = ftransform();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue