| varying vec3 v_data; | |
| void main() { | |
| vec2 extrude = v_data.xy; | |
| float extrude_length = length(extrude); | |
| lowp float antialiasblur = v_data.z; | |
| float antialiased_blur = -max(blur, antialiasblur); | |
| float opacity_t = smoothstep(0.0, antialiased_blur, extrude_length - 1.0); | |
| float color_t = stroke_width < 0.01 ? 0.0 : smoothstep( | |
| antialiased_blur, | |
| 0.0, | |
| extrude_length - radius / (radius + stroke_width) | |
| ); | |
| gl_FragColor = opacity_t * mix(color * opacity, stroke_color * stroke_opacity, color_t); | |
| gl_FragColor = vec4(1.0); | |
| } | |
Xet Storage Details
- Size:
- 1.29 kB
- Xet hash:
- c6a82c36075815cb1a2c37e61d0c955c42fd1cc49cac505986e254e391a4dd80
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.