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…
Fragment shader source
Loading production shader source…