fix the float

fixes #16
This commit is contained in:
Daniel Brooks
2018-07-26 13:47:30 -07:00
parent 55c9f89f14
commit 43e09c80eb
@@ -4,5 +4,5 @@ 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);
gl_FragColor = vec4(gl_Color.rgb, (1.0 - max((rad - 0.28) / 0.05, 0.0)) * gl_Color.a);
}