Procedural Material Generator
Generate procedural marble, metal, glass, fabric and stone materials. Preview in 3D and export shader parameters or Three.js material code.
Runs in your browserExports Three.js, JSON, PNG, ZIPUses your GPU (WebGL)
About this tool
- 1Pick a material type.
- 2Tune colour, roughness, metalness and pattern.
- 3Rotate the preview under different lighting.
- 4Copy Three.js code or download texture maps.
How it works
Pattern maps are generated from noise on a canvas and fed to a MeshPhysicalMaterial. Glass uses transmission, thickness and IOR. Metal uses high metalness with anisotropic roughness noise. Fabric uses a woven normal map and sheen.
Use cases
- Look development for web 3D
- Quick placeholder materials
- Exploring physical material settings
Questions
Will the code work without textures?
Yes. The code includes a function that rebuilds the procedural maps at runtime, or you can download the maps.
Why does glass look dark?
Transmission needs something behind it. The preview includes a backdrop; add one to your scene too.
Which Three.js version is supported?
r150 and later.
Related tools
- PBR Material Viewer3D Studio
- Normal Map Generator3D Studio
- Height Map Visualizer3D Studio
- 3D Blob Generator3D Studio
- Procedural Terrain Generator3D Studio
- All tools in 3D Studio
How the algorithms workHow your files are handledUsing what you export