Liam McInroy
Liam McInroy

Reputation: 4366

How can I set a Skybox as my background in Unity?

I have a Skybox I want to use and am trying to apply it to my scene. When I try to drag it to the Hierarchy box it doesn't work. I tried applying it to a camera like described here, but it didn't work. Thanks in advance.

Upvotes: 4

Views: 30947

Answers (2)

Ashwin Kumar
Ashwin Kumar

Reputation: 622

Can be done by setting in "Render Settings" which will be used in all cameras or else using camera settings to specific camera...

In camera u can set by Adding the Skybox Component to a Camera to override default Render Settings. Skybox material has a cubemap. And set its Clear Flag to SkyBox

Upvotes: 2

Liam McInroy
Liam McInroy

Reputation: 4366

You seemed to have missed something on that page, it says that

You have two options for implementing Skyboxes. You can add them to an individual Camera (usually the main Camera) or you can set up a default Skybox in Render Settings's Skybox Material property. The Render Settings is most useful if you want all Cameras in your scene to share the same Skybox.

So basically you just go to Edit->Render Settings->Skybox Material->(Whatever skybox you want). If you want to create your own Skybox, see here. Hope this helps!

Upvotes: 13

Related Questions