Docs › 3D › Procedural materials
Procedural materials
A procedural material is drawn by Weekend Studio from a few settings instead of from photos: tiles, bricks, hexagons, stones, clouds, marble, wood, water, noise or a gradient. It repeats across any surface with no seams. A Facade draws a building front instead, laid out in floors and bays: see Building facades.
In Materials, press Procedural next to New material and pick one. The new material opens in the editor with a Procedural block above its channels: its own settings (how many rows and columns, the grout or mortar, the bevel, the colors, how rough it is, how much each piece varies), a Seed for another arrangement, Normal strength and the Resolution it is drawn at. Switching to another one starts its settings over.
Noise comes in several kinds: fractal, Perlin, value, ridged, turbulence, billow, and three made of cells (nearest, second nearest, and the cells' edges), each with a scale, detail, contrast and seed. Gradient is linear, radial or angular, with color stops you can add, move and remove. A linear or angular gradient set to Mirrored repeats with no seam; Ramp jumps back at each repeat, so use it on a surface that shows it once.
Every channel
A procedural material draws Color, Roughness, Normal and Displacement (height), and AO where it has gaps or cavities. Metal tiles also get a Metalness map. These are ordinary maps, so everything else works on them as on a photo texture: the channels' own settings, Displacement's depth and method, the UV layout and real-world size, material layers and projections, the Texture tool, and Adjust and Curves on the color. 3D and WeekendRENDER show the same result, and exports carry the maps.
Under Feeds, turn a channel off to use your own picture there, or leave it empty. Dropping a picture on a channel does the same. Keep as image maps keeps the pictures and stops drawing the procedural.
A procedural on one channel, in any material
Every channel of every material can be drawn by a procedural. Next to Drop an image or click to upload, press Procedural and pick one. A color channel (Color, Luminance) takes its colors. Every other channel takes its light and dark, which Low, High and Invert map to that channel's values: noise on Roughness, a gradient on Opacity, tiles on Metalness.
Two sources are worked out as the surface is drawn, not as pictures, so they are also offered here:
- Fresnel changes with the viewing angle: one value where the surface faces you, another at its edges. Use it for a rim light on Luminance, glass that is clearer face-on on Opacity, or a sheen on Color.
- Along an axis is a gradient along the object's own X, Y or Z, whatever its UVs, so it moves and turns with the object.
Both work in 3D and in WeekendRENDER, on Color, Roughness, Metalness, Luminance, Opacity and Translucency. File formats have no way to store them, so an export writes the value seen head-on (Fresnel) or at the middle of the axis.
Big surfaces and curved shapes
On a big surface, any repeat starts to show. Larger repeat draws several repeats across and down into one picture, so it repeats that much less often, still with no seam; raise Resolution with it to keep the detail. Large variation adds a broad, slow change in tint, height and roughness across the picture. The UV tab's Randomize works on procedurals too, as on any picture: it shuffles and turns pieces of it across the surface.
Even on curved shapes lays the procedural out on the object itself instead of through its UVs, so tiles keep one size on a sphere (no pinching at the poles) and on curved shapes. It sets the whole material's projection to triplanar, in the object's own space, at the procedural's real size, and its relief is then built as geometry (Sub poly). A grid of tiles cannot cover a sphere without seams: where the surface turns from facing one side to facing another, tiles from two directions meet. In 3D they blend there; in WeekendRENDER and in exports each face takes the side it faces most. Switching it off brings back the layout it replaced.
Drawing
A new procedural material starts at the size of the real thing (bricks repeat every meter, water every four), with its relief on as Parallax only. While you drag or type a setting, a quick preview shows straight away; the full picture replaces it when you stop. One undo takes back a change together with its pictures.
Procedural materials are made in Weekend Studio, so they count as human made.