Commit Graph

7 Commits

Author SHA1 Message Date
b82e936d04 Use texture instead of texelFetch to make it smoother 2024-08-19 23:11:01 +08:00
5c7e4b1b46 Use a 2-pass depth based outline algorithm when selected 2024-08-18 19:31:08 +08:00
641e2eea9a Revert "Add a simple subtle outline effect by drawing back faces using wireframe mode (#2934)"
This reverts commit 0cee513416.
2023-12-05 22:05:11 +08:00
b335877362 Add a simple subtle outline effect by drawing back faces using wireframe mode (#2934)
* Add a simple subtle outline effect by drawing back faces using wireframe mode

* Show outline in white if the model color is too dark

* Make the outline algorithm more reliable

* Enable cull face, which fix render on Linux

* Fix `disable_cullface`
2023-12-03 09:27:03 +08:00
60b05679e9 Cut: Fix model rendering 2023-11-04 11:41:11 +08:00
748063f3c0 Various fixes 2023-11-04 11:41:06 +08:00
d872c39808 Tech ENABLE_GL_SHADERS_ATTRIBUTES - Added shaders for glsl version 140
(cherry picked from commit prusa3d/PrusaSlicer@76d1d4949b)
2023-11-04 11:41:05 +08:00