Get the normal vector of a position within a signed distance field.
π available at your convenience for use within glslify
Generate a 3D lookAt matrix in GLSL
Convenience module for GLSL raytracing that provides a turntable camera for your scene.
glslify transform that provides you with a cleaner module import/export syntax ✨
GLSL SDF function for generating a sphere.
Combine two signed distance fields with a chamfer-like join.
A linear scale for glslify
A logarithmic scale for glslify
Given a series of GLSL tokens, dedupes any extension declarations and places them at the top of the shader source
Extract macro preprocessor statements from an array of GLSL tokens
Smoothly combine two signed distance fields.
gl-matrix's vec4, split into smaller pieces
A Promise wrapper for glslify, providing a consistent interface between both Node.js and browserify
injects a #define statement into a shader source
gl-matrix's quaternion, split into smaller pieces
A minimal 3D cylindrical geometry, including normals, UVs, and mesh.
gamma-to-linear convenience utilities