Skip to content

About

454 procedural graphics studies in GLSL ES 3.00 for WebGL2, from woven cloth and animal fur to glacial terrain and atmospheric optics. Each study includes shader source and a rendered preview.

Topics

Resources

Stars

1.1k stars

Watchers

10 watching

Forks

Latest commit

 

History

77 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GLSL Studies

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

Running a study

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.

Compiler compatibility

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.

Adding a study

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.

Sculpt studies

Terraced terrain Polished terrazzo Impact crater
Terraced terrain render Polished terrazzo render Impact crater render
Mud cracks Hammered copper Overlapping scales
Mud cracks render Hammered copper render Overlapping scales render
Diamond knurling Panel seams Layered stone
Diamond knurling render Panel seams render Layered stone render
Woven denim Clay strips Faceted gold
Woven denim render Clay strips render Faceted gold render
Chiseled edges Trimmed facets Fracture
Chiseled edges render Trimmed facets render Fracture render
Engraved grooves Weld bead Peeling paint
Engraved grooves render Weld bead render Peeling paint render
Gyroid infill Gathered satin
Gyroid infill render Gathered satin render

Material studies

Jay feather Silk brocade Gelatin mould
Jay feather render Silk brocade render Gelatin mould render
Ruby grapefruit Soap film Wood end grain
Ruby grapefruit render Soap film render Wood end grain render
Ferrofluid Frost dendrite Opal
Ferrofluid render Frost dendrite render Opal render
Paper honeycomb Kelp ribbon Staghorn coral
Paper honeycomb render Kelp ribbon render Staghorn coral render
Candle wax Tooled leather Succulent rosette
Candle wax render Tooled leather render Succulent rosette render
Amber syrup coil Dew on lotus Damascus steel
Amber syrup coil render Dew on lotus render Damascus steel render
Mushroom gills
Mushroom gills render

Local sculpt tools

Using sculpt tools 21–28

Selected-edge chamfer and fillet Local planar scrape Profiled engraving
Selected-edge chamfer and fillet render Local planar scrape render Profiled engraving render
Outline emboss and deboss Stepped pocket and rebate Fitted inlay
Outline emboss and deboss render Stepped pocket and rebate render Fitted inlay render
Pinch and crease Directional scallop gouge
Pinch and crease render Directional scallop gouge render

Fur studies

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
Zebra flank render Rex rabbit flank render Merino sheep fleece render
Red fox brush Lion mane Musk ox skirt
Red fox brush render Lion mane render Musk ox skirt render
Wild boar shoulder Sea otter coat Polar bear coat
Wild boar shoulder render Sea otter coat render Polar bear coat render
North American porcupine
North American porcupine render

Fibre rendering and relighting studies

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
Milkweed seed tuft render Dew on spider web render Translucent silk membrane render
Torn paper edge Bent glass-fibre bundle Copper wire wool
Torn paper edge render Bent glass-fibre bundle render Copper wire wool render
Splayed carbon-fibre tow Dry grass awns Frayed hemp rope end
Splayed carbon-fibre tow render Dry grass awns render Frayed hemp rope end render
Hyphal mat
Hyphal mat render

Shared wind deformation

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

Leaf studies

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
Ginkgo render Japanese maple render English oak render
Mature Monstera Lotus Southern magnolia
Mature Monstera render Lotus render Southern magnolia render
Fern frond Olive Pine needle fascicle
Fern frond render Olive render Pine needle fascicle render
Grass blade
Grass blade render

Procedural terrain studies

Thirty standalone WebGL2 fragment shaders across three series. See the terrain guide for controls.

Series I

Glaciated alpine valley Wind-shaped dune sea Layered sandstone canyon
Glaciated alpine trough Transverse dunes Incised sandstone beds
Clay badlands Volcanic basalt coast Tropical tower karst
Clay rills and divides Jointed basalt shore Isolated limestone towers
Braided glacial outwash Tidal salt marsh Deglaciated granite slab and tarn
Shallow braided outwash channels Tidal creek network Granite slabs enclosing a tarn
Periglacial tundra
Polygon rims and thaw ponds

Series II

Meteorite impact crater Folded sedimentary hogbacks Breached cinder cone and lava field
Meteorite impact crater Folded sedimentary hogbacks Breached cinder cone and lava field
Tropical coral atoll Evaporite salar Wind-eroded yardangs
Tropical coral atoll Evaporite salar Wind-eroded yardangs
Geothermal sinter terraces Submarine hydrothermal vents Faulted rift escarpment
Geothermal sinter terraces Submarine hydrothermal vents Faulted rift escarpment
Rock-avalanche runout
Rock-avalanche runout

Series III — Four seasons

Spring chalk downs Spring prairie potholes
Spring chalk downs Spring prairie potholes
Summer coastal redwood ravine Summer tepui cloud forest Summer lateritic savanna
Summer coastal redwood ravine Summer tepui cloud forest Summer lateritic savanna
Autumn drumlin country Autumn birch and peat upland
Autumn drumlin country Autumn birch and peat upland
Winter corniced ridge Winter spruce basin and frozen lake Winter sea-ice pressure ridge
Winter corniced ridge Winter spruce basin and frozen lake Winter sea-ice pressure ridge

Volume studies

Running the collection, research and validation

Backlit cumulus Self shadowed plume Moving oculus
Backlit cumulus render Self shadowed plume render Moving oculus render
Valley inversion Vortex ring Slatted window
Valley inversion render Vortex ring render Slatted window render
Sweeping searchlight Dust devil Underwater shimmer
Sweeping searchlight render Dust devil render Underwater shimmer render
Eclipse shadow Crossed aerosol beams Chromatic extinction cells
Eclipse shadow render Crossed aerosol beams render Chromatic extinction cells render
Auroral curtain Soot flame Twilight limb
Auroral curtain render Soot flame render Twilight limb render
Laser sheet billows Embedded lantern Mist against backdrop
Laser sheet billows render Embedded lantern render Mist against backdrop render
Shock cells Second scatter cloud Dust sheet echo
Shock cells render Second scatter cloud render Dust sheet echo render
Two deck lidar Range gated fog Pulsating dust cavity
Two deck lidar render Range gated fog render Pulsating dust cavity render
Fluorescent dye Bioluminescent wake Diver colour chart
Fluorescent dye render Bioluminescent wake render Diver colour chart render
Off axis strobe Cirrus ice halo Plate crystal sundogs
Off axis strobe render Cirrus ice halo render Plate crystal sundogs render
Ice plate light pillar Lunar corona Aircraft glory
Ice plate light pillar render Lunar corona render Aircraft glory render
Fogbow to rainbow Polarized skylight Milk pencil beam
Fogbow to rainbow render Polarized skylight render Milk pencil beam render
Marble relief Nebula pair Zodiacal dust disk
Marble relief render Nebula pair render Zodiacal dust disk render
Night limb airglow
Night limb airglow render

Interface studies

Running the collection, research and validation

Half filled tumbler Oil over water Entrained bubbles
Half filled tumbler render Oil over water render Entrained bubbles render
Fluted crystal Submerged lens Inverted air bell
Fluted crystal render Submerged lens render Inverted air bell render
Dye cuvette Ripple dish Pendant drop
Dye cuvette render Ripple dish render Pendant drop render
Dispersive prism
Dispersive prism render

Mechanical parts

Mating screw threads Involute gear pair Ratchet and pawl
Mating screw threads render Involute gear pair render Ratchet and pawl render
Roller-chain links Toothed timing belt Closed-end compression spring
Roller-chain links render Toothed timing belt render Closed-end compression spring render
Caged ball bearing Universal joint Telescoping tube with collar
Caged ball bearing render Universal joint render Telescoping tube with collar render
Cam and follower Interleaved hinge knuckles
Cam and follower render Interleaved hinge knuckles render

Construction, joinery and masonry

Dovetail joint Mortise and tenon Scarf joint
Dovetail joint render Mortise and tenon render Scarf joint render
Tongue-and-groove boards Exposed plywood plies Lapped corrugated sheet
Tongue-and-groove boards render Exposed plywood plies render Lapped corrugated sheet render
Standing-seam metal fold Brick bond with recessed mortar, including Flemish bond Wedge-shaped arch stones
Standing-seam metal fold render Brick bond with recessed mortar, including Flemish bond render Wedge-shaped arch stones render
Overlapping slate shingles Lead strips joining stained glass Dry-stone wall
Overlapping slate shingles render Lead strips joining stained glass render Dry-stone wall render
Clay roof tiles Cobblestones Glass curtain wall
Clay roof tiles render Cobblestones render Glass curtain wall render

Textiles

Stockinette knit loops Cable-knit crossings Crochet chain
Stockinette knit loops render Cable-knit crossings render Crochet chain render
Bobbin-lace junctions Terry-cloth loop pile Satin-stitch embroidery following a contour
Bobbin-lace junctions render Terry-cloth loop pile render Satin-stitch embroidery following a contour render
Zipper teeth and slider Two-thread lockstitch seam Quilted batting between stitches
Zipper teeth and slider render Two-thread lockstitch seam render Quilted batting between stitches render
Woven selvedge Unraveling knit with a dropped stitch Velvet
Woven selvedge render Unraveling knit with a dropped stitch render Velvet render
Corduroy Chainmail Sequins
Corduroy render Chainmail render Sequins render

Wear, deposits and ageing

Directional scuff scratches Contact wear on handled high spots Fretting marks around a joint
Directional scuff scratches render Contact wear on handled high spots render Fretting marks around a joint render
Pitting corrosion Copper verdigris runoff Salt efflorescence on masonry
Pitting corrosion render Copper verdigris runoff render Salt efflorescence on masonry render
Hard-water rings Greasy fingerprint ridges Rain-cleaned tracks through dust
Hard-water rings render Greasy fingerprint ridges render Rain-cleaned tracks through dust render
Soot spreading above a vent Lint trapped along a seam Rust spread
Soot spreading above a vent render Lint trapped along a seam render Rust spread render
Lichen growth Melting Charring front
Lichen growth render Melting render Charring front render
Water staining
Water staining render

Liquid behavior and water surfaces

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.

Impact splash crown Expanding capillary-wave packet Coalescing droplet neck
Impact splash crown render Expanding capillary-wave packet render Coalescing droplet neck render
Rivulet splitting around an obstacle Pinned drop slipping down a surface Capillary bridge between solids
Rivulet splitting around an obstacle render Pinned drop slipping down a surface render Capillary bridge between solids render
Kelvin ship wake behind a moving point Shoreline swash and retreat Circular hydraulic jump
Kelvin ship wake behind a moving point render Shoreline swash and retreat render Circular hydraulic jump render
Liquid sheet breaking into ligaments Draining vortex funnel Deep-water swell
Liquid sheet breaking into ligaments render Draining vortex funnel render Deep-water swell render
Shore break Rain rings on a pond River riffle over cobbles
Shore break render Rain rings on a pond render River riffle over cobbles render

Snow and ice formations

The footprint shader accepts uPressure from −1 (untouched snow) to +1 (full compression). Zero shows a partly compressed print.

Ribbed icicle growth Windward rime accretion Clear glaze around a wire
Ribbed icicle growth render Windward rime accretion render Clear glaze around a wire render
Needle ice lifting soil Buried ice lenses Pancake ice with raised rims
Needle ice lifting soil render Buried ice lenses render Pancake ice with raised rims render
Snowmelt sun cups Penitente spikes Refrozen granular crust
Snowmelt sun cups render Penitente spikes render Refrozen granular crust render
Compressed footprint with displaced snow Meltwater channels incised into ice
Compressed footprint with displaced snow render Meltwater channels incised into ice render

Plant structures

The pine cone opens as uOpen moves from −1 to +1. Its default value of zero shows the scales partway open.

Bark lenticels Overlapping bud scales Pine cone opening with scale angle
Bark lenticels render Overlapping bud scales render Pine cone opening with scale angle render
Tendril coiling around a support Buttress-root flare Hanging aerial roots
Tendril coiling around a support render Buttress-root flare render Hanging aerial roots render
Recurved stem prickles Winged samara seed Packed pomegranate arils
Recurved stem prickles render Winged samara seed render Packed pomegranate arils render
Seed pod splitting along a seam Sunflower seed-head packing Birch bark
Seed pod splitting along a seam render Sunflower seed-head packing render Birch bark render
Pine bark plates Rose petals Strawberry
Pine bark plates render Rose petals render Strawberry render

Animal surface structures

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.

Human iris fibres responding to pupil dilation Compound-eye facets Gecko toe-pad lamellae
Human iris fibres responding to pupil dilation render Compound-eye facets render Gecko toe-pad lamellae render
Ridged butterfly wing scales Radial limpet-shell ribs Chambered nautilus spiral
Ridged butterfly wing scales render Radial limpet-shell ribs render Chambered nautilus spiral render
Hinged bivalve shell with growth lines Sea-urchin spine sockets Beetle wing cases opening along a seam
Hinged bivalve shell with growth lines render Sea-urchin spine sockets render Beetle wing cases opening along a seam render
Suction cup with a deformable sealing rim Jointed insect antenna Snake scales
Suction cup with a deformable sealing rim render Jointed insect antenna render Snake scales render
Fish scales
Fish scales render

Minerals and crystals

Agate slice with bands growing inward from a cavity Quartz points lining a geode Splitting mica sheets
Agate slice with bands growing inward from a cavity render Quartz points lining a geode render Splitting mica sheets render
Intergrown pyrite cubes Porous travertine Interlocking granite grains
Intergrown pyrite cubes render Porous travertine render Interlocking granite grains render
Garnet crystals embedded in schist Fossil fragments in a limestone cut Crossed metal bands in an etched meteorite
Garnet crystals embedded in schist render Fossil fragments in a limestone cut render Crossed metal bands in an etched meteorite render
Branching manganese stains Oriented inclusions producing a star sapphire Quartz cluster
Branching manganese stains render Oriented inclusions producing a star sapphire render Quartz cluster render
Bismuth hopper crystal Labradorite
Bismuth hopper crystal render Labradorite render

Paper, pigment, and print

Folded paper crease with sheet thickness Corrugated cardboard cutaway Translucent watermark
Folded paper crease with sheet thickness render Corrugated cardboard cutaway render Translucent watermark render
Letterpress impression with ink squeeze Offset halftone rosette Misregistered colour separations
Letterpress impression with ink squeeze render Offset halftone rosette render Misregistered colour separations render
Watercolor pigment gathering at a drying edge Watercolor backrun bloom Graphite catching on paper tooth
Watercolor pigment gathering at a drying edge render Watercolor backrun bloom render Graphite catching on paper tooth render
Dry-brush bristle skips Combed marbling bands
Dry-brush bristle skips render Combed marbling bands render

Optical components

Fresnel lens grooves Lenticular view-selector sheet Ruled diffraction grating
Fresnel lens grooves render Lenticular view-selector sheet render Ruled diffraction grating render
Corner-cube retroreflector Frosted transmissive diffuser Stress fringes between crossed polarizers
Corner-cube retroreflector render Frosted transmissive diffuser render Stress fringes between crossed polarizers render
Calcite double imaging Graded-index rod lens Privacy microlouver film
Calcite double imaging render Graded-index rod lens render Privacy microlouver film render
Cylindrical anamorphic lens Overlapping blades of a variable iris
Cylindrical anamorphic lens render Overlapping blades of a variable iris render

Local deformation

Hose kink with a collapsing bore Folding bellows Soft contact flattening
Hose kink with a collapsing bore render Folding bellows render Soft contact flattening render
Euler buckling thin strip Crumpled foil developable ridges Tensile necking and Lüders bands
Euler buckling thin strip render Crumpled foil developable ridges render Tensile necking and Lüders bands render
Tearing membrane crack tip Torsion bar shear wrinkles Hertzian indentation rim pile-up
Tearing membrane crack tip render Torsion bar shear wrinkles render Hertzian indentation rim pile-up render
Miura-ori origami tessellation
Miura-ori origami tessellation render

Biological skin and soft tissue

Skin microrelief and pores Knuckle flexion creases Fingernail plate and cuticle
Skin microrelief and pores render Knuckle flexion creases render Fingernail plate and cuticle render
Goosebumps piloerection Subdermal veins under thin skin Tooth enamel perikymata and dentin
Goosebumps piloerection render Subdermal veins under thin skin render Tooth enamel perikymata and dentin render
Trabecular spongy bone cutaway Wet sweat beads on skin Healed scar and callus transition
Trabecular spongy bone cutaway render Wet sweat beads on skin render Healed scar and callus transition render
Lip vermilion border and fissures
Lip vermilion border and fissures render

Fired ceramics, glazes, and glass

Crazed celadon crackle glaze Tenmoku oil-spot glaze Kintsugi gold lacquer seam
Crazed celadon crackle glaze render Tenmoku oil-spot glaze render Kintsugi gold lacquer seam render
Translucent bone china backlit Unglazed terracotta with grog Hand-blown glass seeds and striae
Translucent bone china backlit render Unglazed terracotta with grog render Hand-blown glass seeds and striae render
Laminated safety glass spiderweb Dichroic kiln-fused glass Acid-etched frosted glass stencil
Laminated safety glass spiderweb render Dichroic kiln-fused glass render Acid-etched frosted glass stencil render
Ash glaze drip over raw clay
Ash glaze drip over raw clay render

Food and culinary microstructures

Sourdough open crumb alveoli Laminated croissant pastry layers Marbled beef muscle and fat
Sourdough open crumb alveoli render Laminated croissant pastry layers render Marbled beef muscle and fat render
Tempered chocolate snap fracture Bubbling broiled cheese crust Espresso crema and latte art
Tempered chocolate snap fracture render Bubbling broiled cheese crust render Espresso crema and latte art render
Caramelized creme brulee crack Whipped meringue ribbon peaks Crystallized rock candy stick
Caramelized creme brulee crack render Whipped meringue ribbon peaks render Crystallized rock candy stick render
Deep fried blistered batter
Deep fried blistered batter render

Granular media, powders, and soils

Dry sand avalanche and repose Wet-to-dry sand capillary fringe Sorted shingle and pebble bed
Dry sand avalanche and repose render Wet-to-dry sand capillary fringe render Sorted shingle and pebble bed render
Impact crater in flour powder Soil horizon profile cutaway Glowing ash and charcoal bed
Impact crater in flour powder render Soil horizon profile cutaway render Glowing ash and charcoal bed render
Coarse sea salt hopper flakes Roasted coffee grounds heap Wind-sorted ripple crests
Coarse sea salt hopper flakes render Roasted coffee grounds heap render Wind-sorted ripple crests render
Crumbling dried clay clods
Crumbling dried clay clods render

Combustion, plasma, and thermal phenomena

Pahoehoe lava crust folding Steel heat-tempering oxide band Lichtenberg electrical breakdown
Pahoehoe lava crust folding render Steel heat-tempering oxide band render Lichtenberg electrical breakdown render
Laminar to turbulent candle flame Jacob's ladder plasma arc Cooling blackbody ember cracks
Laminar to turbulent candle flame render Jacob's ladder plasma arc render Cooling blackbody ember cracks render
Thermal schlieren mirage plume Incandescent coiled tungsten filament Welding arc and molten slag pool
Thermal schlieren mirage plume render Incandescent coiled tungsten filament render Welding arc and molten slag pool render
Corona discharge on high-voltage tip
Corona discharge on high-voltage tip render

Metallurgy and industrial finishes

Radial-turned brushed aluminum Galvanized zinc spangle Metallic-flake clearcoat car paint
Radial-turned brushed aluminum render Galvanized zinc spangle render Metallic-flake clearcoat car paint render
Anodized titanium interference finish Sand-cast iron stipple and parting line Powder-coat orange peel texture
Anodized titanium interference finish render Sand-cast iron stipple and parting line render Powder-coat orange peel texture render
Engine-turned perlage guilloché Electroplated chrome blistering Case-hardened color bluing
Engine-turned perlage guilloché render Electroplated chrome blistering render Case-hardened color bluing render
Lead-free solder fillet and flux
Lead-free solder fillet and flux render

Foams, emulsions, and porous solids

Soap suds Plateau borders Breaking sea-foam lace web Open-cell polyurethane sponge
Soap suds Plateau borders render Breaking sea-foam lace web render Open-cell polyurethane sponge render
Volcanic pumice vesicles Natural cork lenticels and cells Silica aerogel Rayleigh haze
Volcanic pumice vesicles render Natural cork lenticels and cells render Silica aerogel Rayleigh haze render
Polystyrene expanded bead foam Oil-in-water emulsion droplets Acoustic wedge micro-foam
Polystyrene expanded bead foam render Oil-in-water emulsion droplets render Acoustic wedge micro-foam render
Cappuccino microfoam drainage
Cappuccino microfoam drainage render

Electronics, microfabrication, and displays

RGB OLED PenTile subpixel matrix CRT aperture-grille phosphor stripes PCB solder mask and copper traces
RGB OLED PenTile subpixel matrix render CRT aperture-grille phosphor stripes render PCB solder mask and copper traces render
Silicon wafer die diffraction E-ink microcapsule stipple Nixie tube stacked cathode glow
Silicon wafer die diffraction render E-ink microcapsule stipple render Nixie tube stacked cathode glow render
Monocrystalline solar cell grid Braided tinned-copper shielding VFD vacuum fluorescent segments
Monocrystalline solar cell grid render Braided tinned-copper shielding render VFD vacuum fluorescent segments render
Fiber-optic faceplate bundle
Fiber-optic faceplate bundle render

Fungi, mosses, marine life, and biofilms

Morel mushroom honeycomb cap Turkey-tail bracket fungi Physarum slime mold vein network
Morel mushroom honeycomb cap render Turkey-tail bracket fungi render Physarum slime mold vein network render
Sphagnum moss star carpet Acorn barnacle cluster Translucent moon jellyfish bell
Sphagnum moss star carpet render Acorn barnacle cluster render Translucent moon jellyfish bell render
Sea anemone tentacle crown Bath sponge oscula canals Iridescent wet algal biofilm
Sea anemone tentacle crown render Bath sponge oscula canals render Iridescent wet algal biofilm render
Bioluminescent mycelial rhizomorphs
Bioluminescent mycelial rhizomorphs render

Urban paving and architectural finishes

Asphalt aggregate and tar crack Board-formed architectural concrete Retroreflective road paint beads
Asphalt aggregate and tar crack render Board-formed architectural concrete render Retroreflective road paint beads render
Wet asphalt puddle and oil slick Flaking lime plaster over lath Exposed aggregate sidewalk slab
Wet asphalt puddle and oil slick render Flaking lime plaster over lath render Exposed aggregate sidewalk slab render
Tactile paving truncated domes Cast-iron manhole tread pattern Weathered terracotta stucco wash
Tactile paving truncated domes render Cast-iron manhole tread pattern render Weathered terracotta stucco wash render
Expansion joint elastomeric sealant
Expansion joint elastomeric sealant render

Consistent-palette game VFX

Arcane slash arc Arcane shield hex barrier Arcane blink teleport burst
Arcane slash arc render Arcane shield hex barrier render Arcane blink teleport burst render
Arcane ground slam sigil Arcane homing orb trail Arcane channeling beam
Arcane ground slam sigil render Arcane homing orb trail render Arcane channeling beam render
Arcane buff aura vortex Arcane meteor impact dome Arcane chain lightning arc
Arcane buff aura vortex render Arcane meteor impact dome render Arcane chain lightning arc render
Arcane portal rift vortex
Arcane portal rift vortex render

Stylized multi-color game VFX

Crimson oni blade cleave Emerald venom acid splash Solar gold holy smite pillar
Crimson oni blade cleave render Emerald venom acid splash render Solar gold holy smite pillar render
Violet void blackhole pull Frost teal ice nova spikes Amber earth seismic fissure
Violet void blackhole pull render Frost teal ice nova spikes render Amber earth seismic fissure render
Sakura pink healing blossom Neon magenta plasma grenade Jade wind tornado ribbons
Sakura pink healing blossom render Neon magenta plasma grenade render Jade wind tornado ribbons render
Indigo shadow smoke decoy
Indigo shadow smoke decoy render

Realistic physically-based VFX

Fuel-air fireball explosion Muzzle flash supersonic blast C4 shockwave condensation dome
Fuel-air fireball explosion render Muzzle flash supersonic blast render C4 shockwave condensation dome render
Napalm ground fire wall Smoke grenade volumetric plume Thermite molten spark shower
Napalm ground fire wall render Smoke grenade volumetric plume render Thermite molten spark shower render
Artillery dirt geyser impact Underwater depth charge plume Jet afterburner Mach diamonds
Artillery dirt geyser impact render Underwater depth charge plume render Jet afterburner Mach diamonds render
Phosphorus airburst tendrils
Phosphorus airburst tendrils render

Choreographed animated game VFX

Charge-and-release energy nova Orbiting elemental trinity rings Propagating flame wave corridor
Charge-and-release energy nova render Orbiting elemental trinity rings render Propagating flame wave corridor render
Breathing nebula magic sphere Rapid combo slash flurry Rising phoenix wing flare
Breathing nebula magic sphere render Rapid combo slash flurry render Rising phoenix wing flare render
Pulsing EMP electromagnetic grid Spiraling water dragon vortex Morphing liquid mercury singularity
Pulsing EMP electromagnetic grid render Spiraling water dragon vortex render Morphing liquid mercury singularity render
Summoning circle ascension pillar
Summoning circle ascension pillar render

Shader credits

About

454 procedural graphics studies in GLSL ES 3.00 for WebGL2, from woven cloth and animal fur to glacial terrain and atmospheric optics. Each study includes shader source and a rendered preview.

Topics

Resources

Stars

1.1k stars

Watchers

10 watching

Forks

Releases

Packages

Contributors

Languages