Skip to content

BSkybox

Put a sparse star field behind your composition using the supplied backdrop mesh.

Shader menu · Battleships/Skybox

Sparse star field at the stock Brightness of 0.29

Before · Brightness 0.29 at fixed EV −2.

Paths are relative to Assets/FORGE3D/Planets HDRP.

Use Skybox/skybox_stars.prefab and its Skybox/Stars.mat material. The shader file is Skybox/BSkybox.shader. Keep the camera inside the mesh.

GroupInspector setting and property IDWhat it changes
SurfaceStars _Stars, Brightness _BrightnessSupply the star pattern and scale the visible points.
ColorStars Tint _StarsTint, SkyTint _SkyTintTint the stars or lift the background color. Keep the background dark for contrast.

The star field is drawn by the mesh. Configure ambient lighting and reflections separately with HDRP’s Visual Environment and sky settings. Check the backdrop mesh is within the camera’s far clip distance.

Set fixed Exposure and change Brightness from 0.29 to 1.45. Look for more visible stars in the dark parts of the frame.

Same star field with more visible points at Brightness 1.45

After · Brightness 1.45 at fixed EV −2.

Before at full size · After at full size

Lighting and exposure · Technical reference · Shader Reference