Procedural Stars


QUALITY AND PERFORMANCE ... TWO RENDERING MODES ... QUAD OR SPHERE, WITH REAL PER-PIXEL DEPTH ... INCLUDED Star component with custom inspectors, five presets, six view modes, five quality ...


by BeyondAllSpace


Price History +

No setup: add the component. Procedural, animated stars for URP and HDRP: volumetric corona, coronal loops, colour from temperature, six view modes, per-pixel depth.

• Unity 6.3 LTS or newer

• Render pipelines: URP and HDRP

• Requires compute shader support

• Tested: Linux (Vulkan), Windows (Direct3D 12)

• Rendering modes: material (default, no setup, unlimited stars) or pipeline (renderer feature / custom pass, up to 8 per camera)

• Geometry: camera-facing quad (default) or sphere, raymarched, per-pixel depth

• 5 class presets; continuous temperature, radius, activity, seed

• 6 view modes: EUV 171 Å, white light, H-alpha, EUV 304 Å, X-ray, Cinematic

• 5 quality levels: Minimal, Low, Medium, High, Ultra

• Background compute baking within a per-frame GPU budget, shared between stars

• Squash and stretch via transform scale; per-star animation speed

• 4 demo scenes + 6 test scenes, for URP and HDRP

• No textures required (fully procedural)

• Documentation: PDF · Source: full C# and HLSL

• Third party: 4D simplex noise (Ashima Arts), MIT License


No setup: add the component. Put a Star component on an empty GameObject and the star is there, in every camera, like any other object. No renderer feature, no custom pass, no textures.


Procedural Stars creates animated stars for space scenes: the suns of your star systems, the stars of a galaxy view, the light source in the sky. Each star is generated at runtime from a few parameters – no textures to author, no meshes to place.


WHAT IT IS

A granulated surface with active regions and coronal holes, a volumetric corona, coronal loops rising from the surface, and a colour that follows the temperature. All of it is animated.


FIVE PRESETS. INFINITE STARS.

• Red dwarf – 3100 K, 0.35 R☉

• Orange dwarf – 4400 K, 0.7 R☉

• Sun-like – 5772 K, 1 R☉

• White star – 7800 K, 1.5 R☉

• Blue giant – 12000 K, 2.5 R☉

Temperature, radius, activity and seed are continuous, so every value in between is available: a 4900 K star slightly larger than the Sun, a quiet 6500 K star, a hundred orange dwarfs that differ by seed.


SIX VIEW MODES

EUV 171 Å, white light, H-alpha, EUV 304 Å, X-ray – the way solar observations show a star – and Cinematic, a look for games in the star's own colour. Per star, switching never rebakes.


MADE TO MOVE

A non-uniform transform scale squashes and stretches the star like a ball, at constant volume. Each star can run at its own animation speed, changed at runtime without a jump or a rebake. An optional Star Light component lets a star light the scene.


QUALITY AND PERFORMANCE

Five quality levels, Minimal to Ultra. Surfaces are baked by compute shaders in the background within a per-frame GPU budget, so a new star never stalls a frame, and baked surfaces are shared between stars.


TWO RENDERING MODES

• Material mode (default): draws like any renderer – no setup, any number of stars, every camera, layer and reflection probe, motion vectors for TAA and motion blur.

• Pipeline mode (optional): a URP renderer feature or HDRP custom pass, corona at half resolution, the lowest GPU cost; one-click setup, up to 8 stars per camera.

Both look the same and can be mixed. The documentation lists the measured GPU time of each.


QUAD OR SPHERE, WITH REAL PER-PIXEL DEPTH

Each star is raymarched inside a camera-facing quad (default) or a sphere and writes the depth of the actual star, so planets, ships and asteroids intersect and occlude it correctly.


INCLUDED

• Star component with custom inspectors, five presets, six view modes, five quality levels

• URP and HDRP

• 4 demo scenes (Star Classes, Quality Levels, View Modes, Star Builder) and 6 test scenes per pipeline

• Documentation (PDF), full C# and HLSL source


REQUIREMENTS

Unity 6.3 LTS or newer · URP or HDRP · compute shader support. Older Unity versions are not supported.


LIMITATIONS

• Made to be seen from space; not for landing on or flying through the surface.

• Compute shaders are required.

• Pipeline mode draws up to 8 stars per camera (material mode has no limit).


THIRD-PARTY LICENSING

Asset uses 4D simplex noise (Ashima Arts) under the MIT License; see Third-Party Notices.txt file in package for details.


SUPPORT

support@beyondallspace.com · https://beyondallspace.com