mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-11-02 20:51:23 -07:00
ENABLE_GCODE_VIEWER -> Refactoring of shaders for options
This commit is contained in:
parent
e9d57c932a
commit
dcec684cc7
8 changed files with 67 additions and 72 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue