The update introduces compressible planets, volumetric atmospheres, performance optimizations, and a lot of quality-of-life improvements.
Volumetric atmosphere of planets
A new atmosphere shader for particles and rigid bodies now realistically calculates the light scattering and attenuation. Moreover, planets can now get a volumetric atmosphere. When enabled, the atmosphere becomes truly three-dimensional, extending above the surface and transitioning into the surrounding space. The opacity and thickness of the volumetric atmosphere can be customized for each object.
The volumetric atmosphere is available for rigid (non-deformable) planets. For particle-based objects, it’s still recommended to use a differentiated body with an atmosphere layer made of gas particles to achieve a similar look.
The volumetric atmosphere is turned off by default, mainly for performance reasons. You can enable it under Visuals > Custom > Atmosphere > Volumetric.
Volumetric atmosphere of Earth
Volumetric atmosphere of Mars

Customizable texture resolution
Textures are no longer locked at 1024x512 and can be set to any resolution, with presets allowing up to 8192x4096. The default resolution is now 2048x1024, so planets are already more detailed with default settings.
The main limitation is that all textures in the simulation need to have the same resolution (in order to allow sampling from an OpenGL texture array). That means that setting the texture resolution to 8k will cause all textures used in the simulation to be upscaled to 8k, even if the source image has a much lower resolution.
Note that the app does not have any restrictions or safety limits on the amount of memory used by textures; this is entirely the responsibility of the user. When using high-resolution textured, pay attention to the allocated memory, especially when adding a large number of planets.
New textures compared to the textures used in the previous version (0.11).
Compressibility
The simulation no longer strictly enforces incompressibility of particles. The pressure response now depends on the material settings, given by the equation of state. The material can be:
Incompressible - particles are always incompressible, identical to compressibility being disabled.
Solid - all particles are treated as solid, with compressibility determined from the bulk modulus of the material.
Gas - all particles are treated as gas, using an equation of state similar to an ideal gas.
Variable - particles are either solid or gas, depending on their phase.
This change makes the particle phase an integral part of the simulation; previously it was mainly a visual quantity and had a very limited effect on the simulation.
Compressibility is disabled by default to keep the same simulation behavior. Enabling compressibility can significantly affect the simulation result:
By default, objects are created with the parameters you set, not necessarily in hydrostatic equilibrium! That means compressible planets may explode or collapse when the simulation is started, depending on their mass, radius, core temperature, and material settings.
To ensure the planets are stable, enable “Compute equilibrium radius” in the planet panel. This will adjust the radius and internal temperature to balance the pressure and gravity. Note that a stable solution may not exist; for example, a small asteroid cannot be made of gas - its gravity is too small to hold it against the pressure, the asteroid would simply disperse into the surrounding space. When you try to find a solution where no solution exists, the application will let you know that the solver cannot converge. (It can also be a limitation of the solver, so if you believe a solution should exist but the solver refuses to converge anyway, please report a bug.)
Difference between gas and solid equation of state. Compressibility significantly affects motion, heating, and volume of objects.

Custom boundary shapes
When using the solid boundary conditions, the simulation domain can now be customized. In addition to the existing cube shape, it is now possible to set a sphere, a cylinder, or a custom shape defined by a triangle mesh file.
Custom shapes are not available for periodic boundary conditions, as they require a space-filling shape to work.
Example of a simulation with a cylindrical boundary
Shape of rotating objects
The update improves the initial shape of rotating objects. Previously, only rotational ellipsoids, so-called Maclaurin spheroids, were considered. This solution is suitable for slowly rotating bodies of uniform density, but it’s not stable anymore at fast rotations - objects deform into stretched triaxial ellipsoids, so called Jacobi ellipsoids. The dwarf planet Haumea is a good example of such an object in our Solar System. Since the spin rate alone cannot differentiate between the two solution branches, it’s necessary to manually select which one you want; enable ‘Determine shape from rotation’ in the ellipsoid settings, then set ‘Equilibrium branch’ to ‘Jacobi’.
Haumea, a triaxial Jacobi ellipsoid.

The second improvement affects Red giants, evolved stars with most of their mass concentrated in their cores. As their density distribution is far from uniform, it’s much more accurate to consider a different model where a massless envelope surrounds a point mass, so-called Roche model. This model also creates ellipsoidal shapes at low spin rates, but leads to somewhat counterintuitive shapes of stars when their rotation approaches the critical spin rate - it creates sharp equatorial bulges. If the spin rate increased even more, the star would start shedding its mass, creating a decretion disk around it.
A red giant rotating so fast that its envelope entirely fills the Roche lobe of the star.
Visual rings
The visual rings are a simple graphical effect placed around the parent object, and therefore do not restrict the time step in any way. This makes it possible to create ringed planets and run long-term simulations of system evolution without shooting ring particles away. The ring structure (the curve that controls the density of particles for ordinary rings) can be used to modulate the transparency of the visual ring.
Visual rings can only be placed around rigid objects. You can enable them in the ‘Simulation’ tab of the ring object.
Visual ring around a procedurally generated gas giant.
Aurorae
Beside the atmosphere, another visual effect is available for planets - northern lights. Actually, northern and southern lights - the aurorae show in both hemispheres between 60 and 75 degrees of magnetic latitude.
Aurorae require a magnetic field and their intensity scales with the field strength. To see the aurora on Earth, try setting the magnetic field to 10²² m²A and enable ‘Aurora’ under ‘Visuals’.
Aurora borealis? At this time of the year, at this time of the day, in this part of the country, localized entirely within SpaceSim?

Coronae
Planets are not the only ones that get a volumetric visual effect. A rigid star can now show a corona, an extended atmosphere around the star, oriented by its magnetic field. The corona exhibits the characteristic arcs and loop and slowly changes during the simulation. Similarly to the aurora, the corona can be enabled under Visuals.
Variable corona around a main-sequence star.
Erosion for elevation map of procedural planets.
Previously, the terrain of procedural planets was generated using a fractal noise function. It’s a fast method but doesn’t create a realistic elevation profile, because it’s missing an important component - erosion. The update adds an optional erosion function to the elevation texture, creating valleys and gorges that look as if they were carved by water. The method uses the fast erosion filter; unfortunately, despite the name, it’s still much slower than the simple noise functions, so enabling erosion can significantly slow down the texture generation, especially for high-resolution textures.
Reflected/scattered light
Rigid planets can now illuminate other bodies, even if they are not hot enough to emit light. The directional light can be reflected from the surface, creating a light that depends on the size and albedo of the planet. The number of created lights is currently limited to 8 and all lights are assumed to be spherical, which makes this a simple but efficient model of global illumination that’s supported by both the real-time renderer and the raymarcher.
The feature can be enabled or disabled using the ‘Rigid scatter’ checkbox in the render settings.
Planets being illuminated by the light reflected by Neptune.
Hierarchy panel
The update adds a new type of panel that allows you to visualize the orbital hierarchy of objects. The panel shows all top-level objects in rows, followed by all their satellites to the right of their orbital parents, sorted by the distance from the parent. The objects can be either in a “packed” view, showing one next to another, or their distance can be proportional to the actual distance, with numbered ticks showing the distance value.
If the satellites have satellites of their own, they are nested below them. The maximum hierarchy depth can be adjusted in the panel settings. Supported hierarchy levels are planets, moons and submoons.
Hierarchy of bodies in the Solar System. Objects are sorted left to right by their distance from the Sun, all moons are nested below their parent planet.
Scatter plot
The graph panel has also been improved. Besides allowing you to plot quantities of all large objects in the simulation, you can now also add a plot point for every individual particle, creating a scatter plot of particle quantities. This can be useful for plotting properties of disk particles, or showing the correlation between quantities in the interior of planets.
Semimajor axis vs. eccentricity of particles in a circumstellar disk
Partial clipping
SpaceSim has several ‘clip’ modes, allowing you to hide some particles from view and reveal the interior of the planet or the motion of specific materials. The clipper can now have an adjustable opacity; instead of being a binary visible/invisible filter, clipped particles can now be semi-transparent. The default value is now set to 25%, setting the opacity to 0 restores the previous appearance. Additionally, the clipping plane can also be adjusted for the half-space and hemisphere views.
Collision of two planets, showing their iron core using partial clipping.

Three-dimensional potential surface
The update adds another method for the visualization of gravitational potential: a three-dimensional equipotential surface. This is a direct extension of the existing 2D equipotential contours, calculated using marching cubes instead of marching squares. Unlike the 2D version, the 3D surface is only displayed for one specific value of the gravitational potential, configurable in the render settings. The 3D mode also supports effective potential (gravity + centrifugal force), but currently is only enabled for gravity - it doesn’t show the magnetic field.
Surface showing the potential field around two orbiting planets.
Parametric stellar evolution
The previous version had a simple stellar model that changes the radius and luminosity of the star over time. The model has been substantially improved, allowing to realistically calculate the state of stars, given their mass, metallicity and age, and simulate their evolution through the main sequence, giant branch, all the way to remnant stages (white dwarf, neutron star, black hole).
It’s now also possible to set the initial age of the star in the UI, so that it’s not necessary to start the simulation from the zero-age main sequence anymore.
You can see the stellar evolution in the simulation preset ‘HR diagram’.
Initial state of stars computed using the stellar model, from 0.1 to 10 solar masses.
Simulation improvements
Cohesion is now dependent on temperature. Rock that begins to melt loses its material strength and is more susceptible to failure.
Heating improved, it’s now realistically connected to material parameters and particle phase.
Solid massless particles leave impact marks when colliding with rigid objects.
Cohesion is now a material property. Asteroids have an option to override the material cohesion, to maintain the previous behavior.
Added Fast multipole method (FMM) as an alternative gravity solver to the currently default Barnes-Hut method. It’s likely to be less efficient, but it conserves the total momentum and angular momentum better in some cases, so it may be preferable for long-term simulations.
Stars can spawn solar wind particles. Furthermore, the winds from different stars can interact if enabled in the simulation settings. The preset ‘Colliding-wind binary’ demonstrates this effect.
Added two new integrators. Bulirsch-Stoer is a general-purpose integrator, slower but significantly more precise compared to Leapfrog or RK4. Wisdom-Holman is an integrator specifically tailored for planetary systems where the central body is much more massive than all other bodies in the simulation.
The GPU solver now supports adaptive time stepping, periodic gravity, heat conduction, anti-matter annihilation, and strange-matter conversion. More features currently missing will be added in the next updates.
New objects
Trojans is an object similar to the planetary ring, creating a cloud of particles that orbit a Lagrange point L4 or L5.
Procedural asteroid. Choose from multiple shapes and adjust the number of craters and boulders on the surface.
Procedural ring has already been available in previous versions, but now it also exists as a separate object in the ‘Add object’ window.
The dwarf planet Haumea is an example of a Jacobi ellipsoid.
Cygnus X-1, a stellar-mass black hole.
Quasar is an active galactic nucleus with a supermassive black hole in the center and an energetic jet emitted from the core.
Gravastar is a theoretical alternative to a black hole, rendered with a procedural emission texture. Unlike a black hole, it repels particles instead of absorbing them.
Sheet object, a 2D version of the spring object added in the previous update.
Icosphere is a simple shaped body with an adjustable number of subdivisions.
Examples of procedural asteroids
New presets
The update adds seven new simulation presets:
Colliding-wind binary is quite self-descriptive: two stars emit a strong stellar wind that interacts and creates a bow shock.
HR diagram shows a group of stars with various masses on a temperature-luminosity plot. All stars begin at the zero-age main sequence and evolve over time.
Known comets shows 191 comets selected from the JPL SBDB catalogue.
Known moons shows 456 moons of the 8 planets of the Solar system.
Large solar system bodies shows orbits of planets, dwarf planets and major moons.
Simo’s orbit is a simple example of a non-elliptical periodic orbit (N-body choreography).
Surface view of Saturn is mainly a showcase of the volumetric atmosphere, used in this YouTube video.
Space elevator is a simple demonstration of the spring object added in the previous update.
New backgrounds
New textures from Space Spheremaps can be used as a background of the simulation:
Asteroid map
Nebula map
Planet map
Other improvements
Asynchronous design of the application makes editing objects fluid and seamless. The UI no longer freezes whenever you change a property or move a slider.
The camera can be moved using WASD keys. Holding a shift will cause the camera to rotate around the target.
Tonemapping has been reworked, adding more controls such as saturation and contrast.
Added optional redshift for black holes. Black holes can now also get a visual jet, previously available only for pulsars.
Added support for color modes and clip modes to the raymarcher.
The outlines of selected objects are now thicker and smoother. The appearance of outlines can be customized in preferences.
The surface camera supports rigid bodies too and can track another object in the sky.
When selecting two objects during the simulation, the panel now shows their distance and relative speed.
Improved trajectory rendering of rigid objects.
The preset Sagittarius A now contains major stars orbiting the central black holes.
Added OpenEXR (.exr) output format.
Steam Cloud can now be used to save simulations.
You can disable embedding custom assets (textures and meshes) in the simulation files to reduce their size. The assets will be read from their original file paths when loading the simulation.
The setup is now automatically saved when starting the simulation. You can disable the auto-save feature in preferences if needed.
Bugfixes
Fixed potential visualizations (lattice and equipotentials) not updating correctly for objects made of particles when viewing the simulation history.
Fixed the orbital solver working incorrectly with adaptive origin.
Fixed saving asteroids with meshes as custom objects.
Fixed some simulations with small objects exiting with an error.
Fixed instability of cohesion caused by small fragments.
Fixed inconsistent appearance of massless gas particles between rasterizer and raytracer.
Fixed potential visualization not updating when viewing history.

