Tech ENABLE_GLBEGIN_GLEND_REMOVAL - 1st installment - Selection bounding box

(cherry picked from commit prusa3d/PrusaSlicer@22f38235ea)
This commit is contained in:
enricoturri1966 2023-10-20 20:28:27 +08:00 committed by Noisyfox
parent 28d0147d09
commit 7f0c095446
8 changed files with 148 additions and 79 deletions

View file

@ -33,6 +33,8 @@ std::pair<bool, std::string> GLShadersManager::init()
bool valid = true;
// basic shader, used to render selection bbox
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" });
//used to render thumbnail