Open source Star Ruler 2 source code!
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
varying vec2 uv;
|
||||
|
||||
void main() {
|
||||
float rad = length(uv - vec2(0.5));
|
||||
if(rad > 0.33)
|
||||
discard;
|
||||
gl_FragColor = vec4(gl_Color.rgb, (1.0 - max((rad - 0.28) / 0.05, 0)) * gl_Color.a);
|
||||
}
|
||||
Reference in New Issue
Block a user