63 packages found
A node.js-style module system for GLSL!
HSL to RGB color conversion in GLSL
Parse .PC2 vertex animation files
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
gl-matrix's vec4, split into smaller pieces
Take an array of GLSL tokens and determine which tokens are either assignments or variable declarations.
gl-matrix's quaternion, split into smaller pieces
- spherical interpolation
injects a #define statement into a shader source
Extract a shader's name from its source
approximate face normal in the fragment shader
gamma-to-linear convenience utilities
test a shader's gl_FragColor output on a 1x1 canvas