Starlight's icon

Starlight 1.2 Shaders 4.1 Community

Submitted by user tiffany; MIT; 2023-10-16

An that renders 100 000 stars in realtime, with
low performance cost. It's an alternative to using a skybox, and
also may be relevant to anyone making a space game.

Features:

- Stars are rendered positionally in 3D, allowing you to fly around and
see stars go by.
- Exact position, luminosity, and temperature of each star can be
configured by you.
- Physically based light model: Using a Point Spread Function
(PSF), rather than a texture that grows or shrinks with
distance/brightness.
- Based on MultiMeshInstance3D for performance.
- Uses a trick to avoid being clipped by the far plane, to let stars be very far away.
- Works with Forward+, Mobile, and Compatibility renderers.
- Comes with a random star generator based on main sequence stars (classes M through O).


View files Download Submit an issue Recent Edits