Back to Shader Toys

Stars

The stellar renderer builds each star as a transparent 512-pixel WebGL texture. Spectral classes supply physically recognizable palettes, while deterministic variant seeds keep same-class stars from sharing identical surfaces. Compact remnants use alternate branches of the same production shader.

Preparing WebGL renderer…

Waiting to render

Stellar preset

Material

Compact-object geometry

Palette

Current shader settings
  

Fragment shader source
Loading production shader source…