glsl-aastep
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "glsl-aastep", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "anti-alias smoothstep utility function", | ||
@@ -39,2 +39,2 @@ "main": "index.js", | ||
} | ||
} | ||
} |
@@ -7,2 +7,4 @@ # glsl-aastep | ||
[(glslbin demo)](http://glslb.in/s/d7b309df) | ||
Performs a smoothstep using standard derivatives for anti-aliased edges at any level of magnification. If `GL_OES_standard_derivatives` is not available, this falls back to using `step()` without any anti-aliasing. | ||
@@ -46,3 +48,3 @@ | ||
//animate zoom | ||
uv /= sin(iGlobalTime); | ||
uv /= sin(iGlobalTime * 0.2); | ||
@@ -49,0 +51,0 @@ //radial distance |
3066
77