454 procedural graphics studies for GLSL ES 3.00 and WebGL2. The project’s GLSL source, documentation, and rendered previews are available under the MIT License.
| Collection | Studies | Integration |
|---|---|---|
| Sculpt | 28 | Function modules |
| Materials | 19 | Function modules |
| Fur | 10 | Standalone fragment shaders |
| Fibres | 10 | Standalone fragment shaders |
| Leaves | 10 | Standalone fragment shaders |
| Terrain | 30 | Standalone fragment shaders |
| Volumes | 40 | Participating media, transient transport and angular optics |
| Interfaces | 10 | Scene modules with camera and caustic passes |
| Mechanical parts | 11 | Standalone fragment shaders |
| Construction, joinery and masonry | 15 | Standalone fragment shaders |
| Textiles | 15 | Standalone fragment shaders |
| Wear, deposits and ageing | 16 | Standalone fragment shaders |
| Liquid behavior and water surfaces | 15 | Standalone fragment shaders |
| Snow and ice formations | 11 | Standalone fragment shaders |
| Plant structures | 15 | Standalone fragment shaders |
| Animal surface structures | 13 | Standalone fragment shaders |
| Minerals and crystals | 14 | Standalone fragment shaders |
| Paper, pigment, and print | 11 | Standalone fragment shaders |
| Optical components | 11 | Standalone fragment shaders |
| Local deformation | 10 | Standalone fragment shaders |
| Biological skin and soft tissue | 10 | Standalone fragment shaders |
| Fired ceramics, glazes, and glass | 10 | Standalone fragment shaders |
| Food and culinary microstructures | 10 | Standalone fragment shaders |
| Granular media, powders, and soils | 10 | Standalone fragment shaders |
| Combustion, plasma, and thermal phenomena | 10 | Standalone fragment shaders |
| Metallurgy and industrial finishes | 10 | Standalone fragment shaders |
| Foams, emulsions, and porous solids | 10 | Standalone fragment shaders |
| Electronics, microfabrication, and displays | 10 | Standalone fragment shaders |
| Fungi, mosses, marine life, and biofilms | 10 | Standalone fragment shaders |
| Urban paving and architectural finishes | 10 | Standalone fragment shaders |
| Consistent-palette game VFX | 10 | Standalone fragment shaders |
| Stylized multi-color game VFX | 10 | Standalone fragment shaders |
| Realistic physically-based VFX | 10 | Standalone fragment shaders |
| Choreographed animated game VFX | 10 | Standalone fragment shaders |
Standalone shaders. Draw a full-screen triangle with a WebGL2 vertex shader and use the selected file as the fragment shader. Set uResolution to the drawing buffer width and height in pixels. The mechanical, construction, textile, wear, liquid, ice, plant, animal, mineral, print, optics, deformation, skin, ceramics, food, granular, thermal, metals, foams, electronics, fungi_marine, urban, vfx_palette, vfx_stylized, vfx_realistic and vfx_animated collections render a complete frame with this uniform alone. For studies with an optional uTime, supply elapsed seconds to animate the scene. In the new studies that declare uOpen, compare 0 and 1 to see the alternate state or view. See the shader header for study-specific controls. For a first render, choose a leaf or terrain with its default camera. Fibres need uLightMask = 7 for all lights. Use the fibre camera table, fur controls, or terrain guide for collection-specific setup.
Function modules. Start with #version 300 es and high-precision float and int declarations. Append the collection’s 00_common.glsl, then 00_fibre.glsl for strand functions, then the numbered module. For sculpt 13 and 18, insert 12_facetnoise.glsl before the selected module. Supply the fragment output and main(). For example, after appending sculpt’s common layer and 01_terrace.glsl, this fragment entry point displays the terrace height field.
uniform vec2 uResolution;
out vec4 fragColor;
void main() {
vec2 uv = gl_FragCoord.xy / uResolution;
Terrace surface = terrace(uv.y, uv, terraceSpec());
fragColor = vec4(vec3(surface.h), 1.0);
}The curved engraving and enamel specimens include a plate-to-cylinder comparison and coating cutaway. The GLSL geometry check verifies dimensions, material IDs and wind transforms on the GPU.
Clay Strips exposes ClayStripsSpec.length by default. For glslang 16.6.0, define CLAY_STRIPS_LENGTH_FIELD as stripLength before assembling the module and use s.stripLength in that host.
Keep existing IDs stable. Use <collection>/lib/NN_name.glsl and previews/<collection>/NN_name.jpg with the same stem. Add a gallery cell and update the counts above. Document dependencies or host controls in the shader header. Check that the gallery links open the matching shader and preview.
| Selected-edge chamfer and fillet | Local planar scrape | Profiled engraving |
|---|---|---|
![]() |
![]() |
![]() |
| Outline emboss and deboss | Stepped pocket and rebate | Fitted inlay |
![]() |
![]() |
![]() |
| Pinch and crease | Directional scallop gouge | |
![]() |
![]() |
10 procedural animal-fur studies grounded in anatomical coat research and primary fibre-scattering literature. See fur/FUR_REPORT.md for the source-and-technique matrix, comparative QA sheets, and known limitations.
| Zebra flank | Rex rabbit flank | Merino sheep fleece |
|---|---|---|
![]() |
![]() |
![]() |
| Red fox brush | Lion mane | Musk ox skirt |
![]() |
![]() |
![]() |
| Wild boar shoulder | Sea otter coat | Polar bear coat |
![]() |
![]() |
![]() |
| North American porcupine | ||
![]() |
Ten fibre architectures with analytic fibre shading and matched-camera relighting presets, each one standalone GLSL ES 3.00 fragment shader. Uniforms, reference cameras, approximations, QA record and limitations are in fibres/README.md. For matched-camera lighting comparisons, see fibres/review/relighting_comparison.png.
| Milkweed seed tuft | Dew on spider web | Translucent silk membrane |
|---|---|---|
![]() |
![]() |
![]() |
| Torn paper edge | Bent glass-fibre bundle | Copper wire wool |
![]() |
![]() |
![]() |
| Splayed carbon-fibre tow | Dry grass awns | Frayed hemp rope end |
![]() |
![]() |
![]() |
| Hyphal mat | ||
![]() |
The wind functions provide a shared world-space velocity field, passive particle advection and anchored deformation in any object-space coordinate system. Supply an attachment, axis, flexible length and wind direction. Mesh vertices use the forward map. Procedural surfaces, volumes and material lookups can use the inverse map. Integration examples and marching bounds
Standalone fragment shaders; no texture or mesh inputs. Set uResolution to the drawing-buffer size. The default camera and light reproduce the hero; uLightPreset 1–3 selects backlight, raking light or underside lighting. Move uCamPos below the blade to see its underside.
Ginkgo supports a five-second wind loop. Set uWindStrength between 0 and 1 and pass seconds to uTime. For a fixed camera while changing strength, set uCamFov to 46 degrees. Model and validation
The grass blade accepts the same wind-strength and time controls. Its three-gust cycle lasts 15 seconds. For a patch, pass each blade’s planted world position to uWindAnchorWorld, assign a stable unsigned uWindID, and use one shared uWindWaveVector (downwind unit vector divided by gust wavelength). Set uWindDirection in blade-local coordinates when rotating instances. The basal sheath stays fixed. Grass shader · Wind field and units
The fern uses the grass wind controls and 15-second cycle. The central stalk carries all leaflet attachments through the bend. Each leaflet adds a smaller flex that grows toward its free end. Leave uWindStrength at zero for the original still frond. Fern shader
| Ginkgo | Japanese maple | English oak |
|---|---|---|
![]() |
![]() |
![]() |
| Mature Monstera | Lotus | Southern magnolia |
![]() |
![]() |
![]() |
| Fern frond | Olive | Pine needle fascicle |
![]() |
![]() |
![]() |
| Grass blade | ||
![]() |
Thirty standalone WebGL2 fragment shaders across three series. See the terrain guide for controls.
Running the collection, research and validation
Running the collection, research and validation
| Half filled tumbler | Oil over water | Entrained bubbles |
|---|---|---|
![]() |
![]() |
![]() |
| Fluted crystal | Submerged lens | Inverted air bell |
![]() |
![]() |
![]() |
| Dye cuvette | Ripple dish | Pendant drop |
![]() |
![]() |
![]() |
| Dispersive prism | ||
![]() |
Set uTime to elapsed seconds to see the splash crown develop, the Kelvin wake travel and the shoreline advance and retreat. At zero, each shader shows a representative phase of the motion.
The footprint shader accepts uPressure from −1 (untouched snow) to +1 (full compression). Zero shows a partly compressed print.
The pine cone opens as uOpen moves from −1 to +1. Its default value of zero shows the scales partway open.
In the iris study, vary uDilation from 0 to 1 to widen the pupil and compress the surrounding fibres while the outer iris stays fixed.



































































































































































































































































































































































































































































