Unity Fundamentals — Skyboxes to set the scene

To create the scene in your 3D game, you can set up the environment backdrop using a Skybox. Consider a Skybox as a wrapper that represents the scene beyond the geometry.

Skyboxes can render the scene, configure lighting to create realistic ambient lighting and replace the Skybox for an individual camera. Let’s make a basic six-sided Skybox material.

Create a six-sided Skybox

  1. From the menu bar, click Assets > Create > Material.
  2. In the Shader drop-down, click Skybox, then select 6 Sided.
  3. Add the images for the Skybox provided by your game artist.

Lets add the Skybox Material to the environment

Open the lighting settings / Environment and add your created Skybox material.

Check out your results.

I hope this article has helped you with Skyboxes. There is a lot more to Skybox shaders, but it is beyond the scope of this article. For more information.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Jose Gil

Jose Gil

Unity Developer at Mooski Games