tsl-textures

TSL Textures

Gas giant

This texture recreates the turbulent surface of gas giants planet like Jupiter and Saturn, as well as ice giants like Uranus and Neptune. Click on a snapshot to open it online.

Code template

import { gasGiant } from "tsl-textures";

model.material.colorNode = gasGiant( {
	scale: 2,
	turbulence: 0.3,
	blur: 0.6,
	colorA: new THREE.Color(16775408),
	colorB: new THREE.Color(15788208),
	colorC: new THREE.Color(11509968),
	seed: 0
} );

Parameters

Online generator

online/gas-giant.html

Source

src/gas-giant.js

Home