texture-generator

Procedural Equirectangular Textures

Neon lights

This texture generates plasma-like neon ligts. It overlaps up to three neon colors. The generated texture is intended for color maps. Click on a snapshot to open it online.

Code template

Code template of parameters with their default values.

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

Parameters

The parameters of the texture generator are:

In additive mode:

In subtractive mode:

API

All texture modules share the same API.

Online generator

online/neon-lights.html

Source

src/patterns/neon-lights.js

Back