We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c9dac68 + 1a595c2 commit b37ab5bCopy full SHA for b37ab5b
shaders/circle/1.frag
@@ -32,9 +32,6 @@ out vec4 fragment;
32
/* This shader is based on radial.glsl, refer to it for more commentary */
33
34
float apply_smooth(float theta) {
35
-
36
- fragment = vec4(0, 0, 0, 0);
37
38
float idx = theta + ROTATE;
39
float dir = mod(abs(idx), TWOPI);
40
if (dir > PI)
@@ -53,6 +50,7 @@ float apply_smooth(float theta) {
53
50
}
54
51
55
52
void main() {
+ fragment = vec4(0, 0, 0, 0);
56
float
57
dx = gl_FragCoord.x - (screen.x / 2),
58
dy = gl_FragCoord.y - (screen.y / 2);
0 commit comments