{"library":"glsl-aastep","type":"library","category":null,"description":"glsl-aastep is a GLSL utility function designed to provide anti-aliased edges for smoothstep-like operations within shaders. It leverages the `GL_OES_standard_derivatives` extension to calculate fragment derivatives, enabling resolution-independent smoothing of transitions across a single pixel width, regardless of magnification. If the extension is unavailable, it gracefully degrades to a standard `step()` function, losing the anti-aliasing effect. The package is currently at version 1.0.1 and appears to be stable, with updates released infrequently as it provides a focused, atomic GLSL function. Its primary differentiation lies in its direct application of standard derivatives for efficient and robust edge smoothing in 2D and 3D rendering contexts, avoiding more complex multi-pass techniques.","language":"javascript","status":"active","version":"1.0.1","tags":["javascript","aa","aastep","anti","alias","anti-alias","antialias","derivative","standard"],"last_verified":"Wed May 27","install":[{"cmd":"npm install glsl-aastep","imports":["#pragma glslify: aastep = require('glsl-aastep')"]},{"cmd":"yarn add glsl-aastep","imports":[]},{"cmd":"pnpm add glsl-aastep","imports":[]}],"homepage":null,"github":"https://github.com/stackgl/glsl-aastep","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/glsl-aastep","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/glsl-aastep/compatibility"}}