1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-31 11:15:52 +00:00

ENABLE_GCODE_VIEWER -> Refactoring of shaders for options

This commit is contained in:
enricoturri1966
2020-05-29 12:29:04 +02:00
parent e9d57c932a
commit dcec684cc7
8 changed files with 67 additions and 72 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ float fragment_depth(vec3 eye_pos)
void main()
{
vec2 pos = gl_PointCoord - vec2(0.5, 0.5);
vec2 pos = gl_PointCoord - vec2(0.5);
float sq_radius = dot(pos, pos);
if (sq_radius > 0.25)
discard;