{"repo":"tiffany352/godot-starlight","free":true,"listed":false,"github":"https://github.com/tiffany352/godot-starlight","clone":"git clone https://github.com/tiffany352/godot-starlight.git","description":"Render 100,000 stars in 3D space in realtime","language":"GDScript","stars":93,"topics":["godot"],"license":"MIT","category":"game-templates","readme_excerpt":"Starlight for Godot 4.3 (Planet rendered using Atmosphere Shader v0.4) Starlight is a Godot addon 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. Check out the demo in your web browser: https://tiffnix.com/starlight-demo Article describing how this works: https://tiffnix.com/star-rendering 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)][1], rather than a texture that grows or shrinks with distance/brightness. - Based on [MultiMeshInstance3D][2] 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). [1]: https://en.wikipedia.org/wiki/Point spread function [2]: https://docs.godotengine.org/en/stable/classes/class multimeshinstance3d.html Usage Guide To get started, insert Stars.tscn into your scene. By default, nothing will be visible. You can attach the script StarGenerator.gd to randomly generate stars. The default will be 10 000. StarGenerator This script procedurally generates stars in a ball centered on the origin. It has these properties: - size : Stars are spawned","default_branch":null,"files":null,"tree":[],"storefront":"/r/tiffany352","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tiffany352/godot-starlight/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}