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

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);
}