mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 15:37:30 -06:00
Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Layers editing profile's background texture rendering
Tech ENABLE_GLBEGIN_GLEND_REMOVAL - A few fixes in layers editing profile rendering (cherry picked from commit prusa3d/PrusaSlicer@a939d8e4c0) (cherry picked from commit prusa3d/PrusaSlicer@8c807dbcc4)
This commit is contained in:
parent
354f8e20fb
commit
35899b96ba
6 changed files with 89 additions and 97 deletions
|
@ -33,8 +33,7 @@ std::pair<bool, std::string> GLShadersManager::init()
|
|||
|
||||
bool valid = true;
|
||||
|
||||
// basic shader, used to render selection bbox, gizmo cut plane and grabbers connections,
|
||||
// gizmo move grabbers connections, gizmo scale grabbers connections
|
||||
// basic shader, used to render all what was previously rendered using the immediate mode
|
||||
valid &= append_shader("flat", { "flat.vs", "flat.fs" });
|
||||
// used to render bed axes and model, selection hints, gcode sequential view marker model, preview shells, options in gcode preview
|
||||
valid &= append_shader("gouraud_light", { "gouraud_light.vs", "gouraud_light.fs" });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue