134 Commits

Author SHA1 Message Date
enricoturri1966
30224e8ae5 Port of 1a2ba70fcf59ed063668ba91cdd600cf0e729928 to OpenGL ES 2022-04-21 14:13:01 +02:00
enricoturri1966
5b11cb0de6 Merge branch 'et_opengl_3' of https://github.com/prusa3d/PrusaSlicer into et_opengl_es 2022-04-21 13:59:05 +02:00
enricoturri1966
1a2ba70fcf Tech ENABLE_LEGACY_OPENGL_REMOVAL - Fixed calculation of normal matrices sent to shaders 2022-04-21 13:58:04 +02:00
enricoturri1966
a9c43c8171 Port of the changes made with bea50dce7c4c5bfd0ccb7d7112e9d808dbe79520 to OpenGL ES 2022-04-11 09:26:11 +02:00
enricoturri1966
38a5af4300 Merge branch 'et_opengl_3' of https://github.com/prusa3d/PrusaSlicer into et_opengl_es 2022-04-11 09:22:24 +02:00
enricoturri1966
476b7785e8 Fixed conflicts after merge with master 2022-04-11 09:21:59 +02:00
enricoturri1966
bea50dce7c Fixed rendering of printbed while the camera is below it 2022-04-11 08:38:09 +02:00
enricoturri1966
7be3edc3bc Tech ENABLE_OPENGL_ES - Added shader wireframe 2022-04-08 08:18:48 +02:00
enricoturri1966
8513e78759 Tech ENABLE_OPENGL_ES - Removed unneeded lines from shaders mm_contour and gouraud 2022-04-08 08:17:48 +02:00
enricoturri1966
a1e4ce628a Port of the changes made with a4435d214f3c5ed4111e474666fde5d431ea3501 to OpenGL ES 2022-04-07 14:32:02 +02:00
enricoturri1966
b27869dab8 Merge branch 'et_opengl_3' of https://github.com/prusa3d/PrusaSlicer into et_opengl_es 2022-04-07 13:08:26 +02:00
enricoturri1966
f90b558282 Fixed conflicts after merge with master 2022-04-07 13:04:34 +02:00
enricoturri1966
a4435d214f Shader mm_contour - Customizable offset to calculate the correction to avoid z-fighting (MESA driver needs bigger one) 2022-04-07 12:59:11 +02:00
enricoturri1966
eba735d785 Port of the changes made with 5e0590a93e852c532fb0ff59a72463c318c119e0 and 0995cfc658dfbfdbc61fde451d32d06a9195b9a7 to OpenGL ES 2022-04-07 11:47:57 +02:00
enricoturri1966
aa468b3770 Merge branch 'et_opengl_3' of https://github.com/prusa3d/PrusaSlicer into et_opengl_es 2022-04-07 11:27:08 +02:00
enricoturri1966
b75cea2035 Fixed conflicts after merge with master 2022-04-07 10:43:52 +02:00
enricoturri1966
0995cfc658 Shader mm_contour - Correction to avoid z-fighting moved from fragment shader to vertex shader 2022-04-07 10:40:33 +02:00
enricoturri1966
75a523ffc3 Fixed conflicts after merge with master 2022-04-07 08:27:22 +02:00
enricoturri1966
5e0590a93e Removed assignment to gl_FragDepth into gouraud.fs shader. Replaced with small offset of triangles along their normal. 2022-04-07 08:22:33 +02:00
enricoturri1966
4858bf02fb Fixed conflicts after merge with et_opengl_3
Partial revert of 0260c81c9e2b715b69550b5c99e0cbb8d5503021 - OpenGL ES 2.0 set as minimum version

Fixed shaders version
2022-04-06 14:04:38 +02:00
enricoturri1966
1383927bae Techs ENABLE_OPENGL_ES - Added shader dashed_lines to render dashed lines 2022-04-05 13:53:25 +02:00
enricoturri1966
3bf470c1ac Merge branch 'et_opengl_3' of https://github.com/prusa3d/PrusaSlicer into et_opengl_es 2022-04-05 13:39:50 +02:00
enricoturri1966
9b67f9812d Refactoring in shader dashed_thick_lines 2022-04-05 13:39:14 +02:00
enricoturri1966
c719a84eaf Merge branch 'et_opengl_3' of https://github.com/prusa3d/PrusaSlicer into et_opengl_es 2022-04-05 12:14:24 +02:00
enricoturri1966
7532b7b729 Refactoring in shader dashed_thick_lines 2022-04-05 12:14:01 +02:00
enricoturri1966
426adcc5e6 Tech ENABLE_OPENGL_ES - Use OpenGL ES context - 1st installment 2022-03-31 14:57:05 +02:00
enricoturri1966
21ef9167c4 Fixed conflicts after merge with master 2022-03-31 13:40:54 +02:00
enricoturri1966
0763a48ce5 Tech ENABLE_GL_SHADERS_ATTRIBUTES - Fixed OpenGL clipping planes while rendering picking pass 2022-03-31 13:23:04 +02:00
enricoturri1966
14e9461af6 Tech ENABLE_GL_CORE_PROFILE - Thick lines shader enhanced to render dashed lines 2022-03-25 14:33:11 +01:00
enricoturri1966
7c2cab80a4 Fixes into thick_lines shader 2022-03-25 11:05:01 +01:00
enricoturri1966
acbbe39bce Tech ENABLE_GL_CORE_PROFILE - Use thick_lines shader where needed 2022-03-25 08:57:25 +01:00
enricoturri1966
1243d046bc Tech ENABLE_GL_CORE_PROFILE - Use OpenGL core profile context - 1st installment 2022-03-24 14:45:59 +01:00
enricoturri1966
86641a481e Fixed typo 2022-03-22 15:35:02 +01:00
enricoturri1966
9be3d926c5 Tech ENABLE_LEGACY_OPENGL_REMOVAL - A few refactorings and fixes 2022-03-22 08:18:39 +01:00
enricoturri1966
76d1d4949b Tech ENABLE_GL_SHADERS_ATTRIBUTES - Added shaders for glsl version 140 2022-03-21 13:10:47 +01:00
enricoturri1966
d0d89a4d5b Tech ENABLE_GL_IMGUI_SHADERS - Render imgui using shaders 2022-03-14 09:04:44 +01:00
enricoturri1966
31c3952e2d Removed obsolete shaders 2022-03-08 12:50:00 +01:00
enricoturri1966
65b5af9561 Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: variable_layer_height
2022-03-08 12:48:21 +01:00
enricoturri1966
dbdc272c4e Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: mm_gouraud
2022-03-08 11:17:34 +01:00
enricoturri1966
3e47253725 Follow-up of 66fa2b1e2685b9b01232b89488a97d6d413ea240 - Cleanup 2022-03-08 10:59:12 +01:00
enricoturri1966
66fa2b1e26 Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: mm_contour
2022-03-08 10:57:43 +01:00
enricoturri1966
9fb350e3dd Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: gouraud
2022-03-07 15:31:23 +01:00
enricoturri1966
005fef7bf6 Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: flat_texture
2022-03-07 09:45:29 +01:00
enricoturri1966
93610ebb02 Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: printbed
2022-03-04 14:10:41 +01:00
enricoturri1966
4323b602f5 Code cleanup 2022-03-04 13:57:11 +01:00
enricoturri1966
44a00be329 Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: toolpaths_cog
2022-03-04 13:50:31 +01:00
enricoturri1966
b84b6af32a Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: background
2022-03-04 13:30:21 +01:00
enricoturri1966
cdf3cb83b6 Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: gouraud_light_instanced_attr - Instanced options in gcode preview
2022-03-04 12:46:01 +01:00
enricoturri1966
31013fb6df Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Refactoring of flat vertex shader
2022-03-04 08:54:23 +01:00
enricoturri1966
8315f43ed0 Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: gouraud_light - Bed axes
2022-03-03 09:21:52 +01:00