texture-generator

Procedural Equirectangular Textures

concrete

This texture immitates the grains of a rough concrete surface. It is designed to be used as bump map. Click on a snapshot to open it online.

Code example

Code template of parameters with their default values.

import * as PET from "pet/patterns/concrete.js";
:
model.material.map = PET.texture( );
PET.material( model.material );

Parameters

The parameters of the texture generator are:

API

All texture modules share the same API.

Online generator

online/concrete.html

Source

src/patterns/concrete.js

Back