texture-generator

Procedural Equirectangular Textures

Water drops

This texture renderes a bump map for simulating water drops or frosted surfaces. For a better effect a bump map alone is not sufficient. Click on a snapshot to open it online.

Code example

Code template of parameters with their default values.

import * as PET from "pet/patterns/water-drops.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/water-drops.html

Source

src/patterns/water-drops.js

Back