1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-30 11:05:50 +00:00

GCodeViewer -> Pass vertex normal to shaders for toolpaths

This commit is contained in:
enricoturri1966
2020-06-29 14:00:08 +02:00
parent d41781f674
commit 69de5c8c9f
13 changed files with 431 additions and 265 deletions
+1 -1
View File
@@ -84,6 +84,6 @@ void main()
vec3 eye_on_sphere_position = eye_position_on_sphere(eye_position_from_fragment());
gl_FragDepth = fragment_depth(eye_on_sphere_position);
// gl_FragDepth = fragment_depth(eye_on_sphere_position);
gl_FragColor = on_sphere_color(eye_on_sphere_position);
}