Skip to main content
‹ Back to Tutorials
Intermediate Unity

Unity 3D - Creating your own Skyboxes. Procedural Skybox and 3D Skybox using a Reflection Probe

Apr 15, 2021
About this tutorial

In this tutorial, I'm going to create 2 different types of skyboxes. The first is a simple Procedural Skybox. The second, I'll create a 3D scene then use a reflection probe which we will then use as a skybox!! Also check out How to Make a Bounce Game Series https://bit.ly/39HIYBU. 👉🏼 To Sign u

Written Guide

This tutorial covers two ways to make your own skyboxes in Unity: a quick procedural sky you tint by hand, and a richer approach where you build a 3D environment, photograph it with a reflection probe, and bake that into a cubemap skybox. The reflection-probe method lets you turn any arranged scene, here candy canes and clouds, into a 360-degree background.

Make a procedural skybox

Create a material and switch its shader to Skybox, Procedural. Set the sky tint to a mint green and the ground color to a darker pink to match your scene. Open Window, Rendering, Lighting and drag the material into the skybox slot. That alone gives a clean gradient sky you can ship as-is.

Wrap the scene in a cloud cylinder

For more depth, make a transparent cloud PNG, build a URP unlit transparent material from it, and create a large cylinder (about 50 by 20 by 50) around the scene. Since cylinder normals face outward, ProBuilderize it, select the top faces and delete them, then Flip Normals so the texture shows on the inside. Drop the cloud material on and scale the cylinder so the clouds surround your candy-cane props.

Capture with a reflection probe

Add a Light, Reflection Probe centered in the scene. For it to capture anything, mark every object you want included as Static (accepting the children prompt). Raise the probe's resolution from 128 to 1024 and bake it; the probe records the whole environment as a six-sided cubemap.

Turn the capture into a skybox

Create a new material, set its shader to Skybox, Cubemap, and drag the baked reflection probe into the cubemap slot. Now you can delete the 3D props entirely and assign this candy-cane material as the scene's skybox, giving a full 3D sky made of your own arranged objects that you can look around in any direction. The same technique built a star-and-nebula sky from particles, showing how flexible custom skyboxes can be.

Unity tools by Bliz Studio
Built for our own games — now on the Asset Store

Multi Tag — unlimited hierarchical tags for any GameObject. Hierarchy Pro — style your whole hierarchy with rules. Made by a Unity dev, for Unity devs.

Explore our Unity assets →