Open source Star Ruler 2 source code!

This commit is contained in:
Lucas de Vries
2018-07-17 14:15:37 +02:00
commit cc307720ff
4342 changed files with 2365070 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
varying vec2 rcoords;
void main() {
float r = length(rcoords);
if(r > 1.0)
discard;
vec4 col = gl_Color;
col.a *= 1.0 - smoothstep(0.95, 1.0, r);
gl_FragColor = col;
}