I did not see anything relevant in the api, but it would be nice if we could display a planet's space rendering from lua. Mainly to cover for one feature of visible planets in space, where it also displays planetslib moons around the planet you currently orbit.
Also to let Cerys use those graphics in the background as you look down at Fulgora, so it does not need to be a static sprite anymore.
Render planet graphics from lua code
-
FluidNatalie
- Burner Inserter

- Posts: 10
- Joined: Tue Oct 14, 2025 7:52 pm
- Contact:
- y.petremann
- Filter Inserter

- Posts: 445
- Joined: Mon Mar 17, 2014 4:24 pm
- Contact:
Re: Render planet graphics from lua code
I know exactly what I want now. Make this field an array, and let us add multiple backdrop definitions.
https://lua-api.factorio.com/latest/typ ... m_backdrop
It has a position and a radius, and we can use those to place and position multiple ones of them.
We also tried doing a ringworld, and this may work if we could place two, and flip the normals on one of them so it curves inside instead of outside forming a circle. That may also be hackable to make something visually orbit the planet.
https://lua-api.factorio.com/latest/typ ... m_backdrop
It has a position and a radius, and we can use those to place and position multiple ones of them.
We also tried doing a ringworld, and this may work if we could place two, and flip the normals on one of them so it curves inside instead of outside forming a circle. That may also be hackable to make something visually orbit the planet.
