Add missing dependencies, fix arc rendering

This commit is contained in:
2021-08-28 16:22:21 +01:00
parent 4e97a1998c
commit c36654520d
9 changed files with 77 additions and 15 deletions
+3 -1
View File
@@ -6,7 +6,9 @@ out vec4 fColor;
void main()
{
float d = dot(vec2(vparams.xy),vec2(vparams.xy));
float d = (dot(vec2(vparams.xy),vec2(vparams.xy)));
if ( d > 1 || d < vparams.z ) {discard;}
//if ( d > 1 ) {discard;}
fColor = vColor;
//fColor = (10,0,0,10);
}