Commit Graph
16 Commits
Author SHA1 Message Date
Lukáš Hejl bad51cdb52 OSX specific: Fixed darker colors of objects inside multi-material gizmo on macOS running on Arm64 CPU.
For Apple's on Arm CPU computed triangle normals inside fragment shader using dFdx and dFdy has the opposite direction. Because of this, objects had darker colors inside the multi-material gizmo.
Based on https://stackoverflow.com/a/66206648, the similar behavior was also spotted on some other devices with Arm CPU.
2021-08-02 14:59:03 +02:00
enricoturri1966 1f3252dd78 Revert of b140709fa8 and new implementation of fixing picking for sinking objects 2021-07-21 11:56:39 +02:00
enricoturri1966 b140709fa8 ENABLE_ALLOW_NEGATIVE_Z -> Fixed picking of sinking object 2021-07-20 11:02:04 +02:00
Vojtech Bubnik 8d644fbcb6 1) Shader manager: Allow to override #defines programatically
when loading a shader file.
2) Conditional compilation of environmental mapping in gouraud.fs
   using 1)
2020-12-10 13:20:25 +01:00
enricoturri1966 ba9c3a74ed GCodeViewer -> 1st iteration of rendering of extrude toolpaths as solid 2020-08-26 15:29:33 +02:00
enricoturri1966 ac8a6fccbe Renamed shaders 2020-08-25 08:12:28 +02:00
enricoturri1966 d91fc7b8ab ENABLE_GCODE_VIEWER -> Removed options_120_solid shader 2020-08-19 11:25:12 +02:00
enricoturri1966 73b885fc37 GCodeViewer -> Added imgui dialog for estimated printing times 2020-07-08 13:33:50 +02:00
enricoturri1966 69de5c8c9f GCodeViewer -> Pass vertex normal to shaders for toolpaths 2020-06-29 14:00:08 +02:00
enricoturri1966 35190936a3 GCodeViewer -> Newer version of shader for options 2020-05-27 16:19:40 +02:00
enricoturri1966 314995fa0b ENABLE_SHADERS_MANAGER set as default 2020-05-22 16:08:02 +02:00
enricoturri1966 4d05ec0856 GCodeViewer -> New shaders for options 2020-05-22 13:21:43 +02:00
enricoturri1966 0d579f5467 ENABLE_SHADERS_MANAGER -> Small refactoring 2020-05-21 12:13:24 +02:00
enricoturri1966 3bbe2ef960 Fixed typo 2020-05-21 10:27:41 +02:00
enricoturri1966 5aa8cc5779 ENABLE_SHADERS_MANAGER -> Unified client code of new GLShadersManager and GLShaderProgram classes 2020-05-21 10:15:00 +02:00
enricoturri1966 c7c87973b7 First installment of tech ENABLE_SHADERS_MANAGER, using class GLShadersManager as a central point to manage OpenGL shaders 2020-05-20 14:11:22 +02:00