A node.js-style module system for GLSL!
Bundle a glslify-deps dependency tree into a GLSL source string
Converts an array of GLSL tokens to a plain source string
Trim the whitespace within an array of GLSL tokens
Infer the scope of each token in an array of GLSL tokens
Determine the scope depth of an array of GLSL tokens
"Descope" an array of GLSL tokens such that they can be safely inlined alongside within another shader without causing any global variable conflicts.
Takes an array of GLSL tokens and determines whether or not they're a property of another identifier
Retrieve the values defined with preprocessor statements in a selection of GLSL tokens
Take an array of GLSL tokens and determine which tokens are either assignments or variable declarations.
Extract a shader's name from its source
perturb normal from a normal map
approximate face normal in the fragment shader
A minimal 3D cylindrical geometry, including normals, UVs, and mesh.
glslify loader module for webpack
Extract function definitions from an array of GLSL tokens.
Smooth minimum functions for GLSL
Generates a ray for Shadertoy-style raycasting in GLSL
Given a signed distance function and ray, trace a scene to find the first point of intersection.
Get the normal vector of a position within a signed distance field.