Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Textures rendering

(cherry picked from commit prusa3d/PrusaSlicer@1a47211bfc)
This commit is contained in:
enricoturri1966 authored and Noisyfox committed 2023-11-04 11:41:03 +08:00
1 parent 04ad26f611
commit 7907426d00
7 files changed
+75 -43

No files matched your search

+2
View File
@@ -35,6 +35,8 @@ std::pair<bool, std::string> GLShadersManager::init()
// basic shader, used to render all what was previously rendered using the immediate mode
valid &= append_shader("flat", { "flat.vs", "flat.fs" });
// basic shader for textures, used to render textures
valid &= append_shader("flat_texture", { "flat_texture.vs", "flat_texture.fs" });
// used to render 3D scene background
valid &= append_shader("background", { "background.vs", "background.fs" });
// used to render bed axes and model, selection hints, gcode sequential view marker model, preview shells, options in gcode preview