Drop-in procedural sun with lava surface, corona halo, chromosphere plasma, and starfield skybox for URP.URP only. Requires Unity 2021.3 LTS or newer with Universal Render Pipeline 12+. Not compatible with Built-in Render Pipeline or HDRP. A global Volume with Bloom is recommended for the corona and plasma look. Shaders use URP transparent queues and premultiplied alpha blending.rocedural Sun from Space is a drop-in procedural sun system for Unity URP. Add a cinematic star with an animated lava surface, glowing corona halo, ray-marched chromosphere plasma, and a tiled starfield skybox — no animation clips, sprite sheets, or video textures required.Perfect for space games, sci-fi environments, planetarium / educational projects, cinematic trailers, and any scene that needs a believable sun at the center of a solar system.What's includedLava surface — triplanar FBM shader with flowing, heat-driven detailCorona halo — soft rim glow around the sun diskChromosphere plasma — volumetric-style plasma shell with animated spiculesStarfield skybox — equirectangular tiled space backgroundPoint light — warm sun light, pre-configured for large-scale scenesEditor menus — one-click setup from the GameObject menuRuntime API — spawn and control the sun from codeQuick setupUse a URP project (Unity 2021.3 LTS or newer).GameObject → Shadow Space → Procedural SunGameObject → Shadow Space → Procedural SkyboxAdd a global Volume with Bloom (recommended: intensity 0.14, scatter 0.42, threshold 0.78).Press Play.Or use Shadow Space → Setup Demo Scene to create the sun, skybox, camera rig, and controls in one step.CustomizationEverything is fully procedural and tweakable:Sun radius, halo falloff, and halo intensity — on the ProceduralSun componentLava colors — six gradient stops (dark → hot → white) via LavaColorSettingsPlasma density, intensity, and variation — material properties or defaults in ProceduralSunResourcesLight intensity and range — adjustable on the componentToggle plasma and sun sphere at runtime (demo shortcuts: P and S)Shaders are included as source — edit SunLava, SunHalo, SunChromosphere, and ProceduralSkybox to match your art direction.Runtime APIvar sun = ProceduralSun.Create();sun.UpdateSun(Time.time, Camera.main);sun.Radius = 10.752f;sun.SetChromosphereVisible(true);ProceduralSkybox.Create(ProceduralSunResources.SpaceboxTexture);RequirementsUnity 2021.3 LTS or newerUniversal Render Pipeline (URP) 12+URP only — not compatible with Built-in RP or HDRPBloom on a global Volume is recommended for the best corona and plasma lookSupportQuestions or issues: shadow.space.box@gmail.comFully procedural sun — no animation clips, sprite sheets, or video texturesURP-only shaders: lava surface, corona halo, chromosphere plasma, procedural skyboxOne-click setup via GameObject → Shadow Space editor menusRuntime API: ProceduralSun.Create(), radius, colors, plasma/sphere togglesAnimated lava surface with triplanar FBM noiseSoft corona halo with adjustable falloff and intensityRay-marched chromosphere plasma shell with density and intensity controlsTiled starfield skybox texture included (spacebox.png)Built-in warm point light (intensity and range configurable)Demo scene setup menu with orbital camera and Play mode shortcuts (P/S)Customizable lava color gradient via LavaColorSettingsShader source included — edit materials and defaults in Inspector or codeCorrect transparent render order: skybox → halo → plasma → sun sphereUnity 2021.3 LTS+, URP 12+No Asset Store package dependencies




