mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-29 11:41:20 -06:00
Tech ENABLE_GLBEGIN_GLEND_REMOVAL - 1st installment - Selection bounding box
(cherry picked from commit prusa3d/PrusaSlicer@22f38235ea)
This commit is contained in:
parent
28d0147d09
commit
7f0c095446
8 changed files with 148 additions and 79 deletions
8
resources/shaders/flat.fs
Normal file
8
resources/shaders/flat.fs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#version 110
|
||||
|
||||
uniform vec4 uniform_color;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_FragColor = uniform_color;
|
||||
}
|
||||
6
resources/shaders/flat.vs
Normal file
6
resources/shaders/flat.vs
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#version 110
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = ftransform();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue