A reusable GLSL point light function
Converts an array of GLSL tokens to a plain source string
webgl-noise shaders ported to work with glslify
A wrapper for the "resolve" module that targets GLSL shaders instead of JavaScript
"Descope" an array of GLSL tokens such that they can be safely inlined alongside within another shader without causing any global variable conflicts.
Infer the scope of each token in an array of GLSL tokens
Takes an array of GLSL tokens and determines whether or not they're a property of another identifier
Trim the whitespace within an array of GLSL tokens
r/w stream of glsl tokens
A node.js-style module system for GLSL!
Determine the scope depth of an array of GLSL tokens
Import, inline (and minify) GLSL/WGSL shader files
blend mode 'overlay' for GLSL
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.
* implements render engine's interface with WebGPU/WebGL
Prettier (https://prettier.io) plugin for GLSL (OpenGL Shading Language).
safely inject a block of tokens into a shader
Cook-Torrance specular/fresnel lighting term
injects a #define statement into a shader source
Functions to test if a point is outside ranges, namely useful for 3D/2D scenes that may have reversed bounds
Robert Penner's easing functions in GLSL, available as a module for glslify.
Extract function definitions from an array of GLSL tokens.
Common GLSL math constants (with 11 decimals) available both as ES modules strings and as GLSL files for use with glslify.