From 09856cc9ed5404ce4e49806c684c09c30f2ca2ac Mon Sep 17 00:00:00 2001 From: Igor Null Date: Tue, 1 Sep 2015 18:13:06 +0000 Subject: [PATCH] tuned size a bit --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 5e9db6d..4f477d2 100644 --- a/index.html +++ b/index.html @@ -150,7 +150,7 @@ function draw(gl, shader) { } tmpPos = gl.getUniformLocation(shader, 'uSize'); if (tmpPos && tmpPos !== -1) { - gl.uniform1f(tmpPos, 0.01); + gl.uniform1f(tmpPos, 0.012); } } @@ -261,7 +261,7 @@ void main (void) vec2 xy = vec2((len/2.0+uSize)*uvl.x+len/2.0, uSize*uvl.y); float alpha; - float sigma = uSize/3.0; + float sigma = uSize/4.0; if (len < EPS) { alpha = exp(-pow(length(xy),2.0)/(2.0*sigma*sigma))/2.0/sqrt(uSize); } else {