mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-01-05 22:37:41 -07:00
ENH: 3dbed: support rendering extruder area with different color
JIRA: STUDIO-7494 Change-Id: I717999e8b7ab1d7d350299b412a3a270c6ba7a9e (cherry picked from commit 62b1d00d1fd6675fd067b76778d6a577dfae0c24)
This commit is contained in:
parent
f702ad9fd2
commit
6e063bdc8d
7 changed files with 157 additions and 6 deletions
|
|
@ -50,6 +50,7 @@ std::pair<bool, std::string> GLShadersManager::init()
|
|||
valid &= append_shader("thumbnail", { prefix + "thumbnail.vs", prefix + "thumbnail.fs"});
|
||||
// used to render printbed
|
||||
valid &= append_shader("printbed", { prefix + "printbed.vs", prefix + "printbed.fs" });
|
||||
valid &= append_shader("hotbed", {"110/hotbed.vs", "110/hotbed.fs"});
|
||||
// used to render options in gcode preview
|
||||
if (GUI::wxGetApp().is_gl_version_greater_or_equal_to(3, 3)) {
|
||||
valid &= append_shader("gouraud_light_instanced", { prefix + "gouraud_light_instanced.vs", prefix + "gouraud_light_instanced.fs" });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue