tsl-textures

TSL Textures

Photosphere

This texture renderes the convection cells of plasma on the surface of a star. These granules are a phenomenon of the photosphere. Click on a snapshot to open it online.

Code example

import { photosphere } from "tsl-textures";

model.material.colorNode = photosphere ( {
	scale: 2,
	color: new THREE.Color(16776960),
	background: new THREE.Color(16711680),
	seed: 0
} );

Parameters

Online generator

online/photosphere.html

Source

src/photosphere.js

Home