texture-generator

Procedural Equirectangular Textures

Clouds

This texture renders clouds. The texture has alpha channel to support transparency and opacity. Click on a snapshot to open it online.

Code example

Code template of parameters with their default values.

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

Source

src/patterns/clouds.js

Back