Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
1
Question by enigmatic · Feb 26, 2016 at 01:44 PM · camerascript.virtualskyboxes

Adding skybox in Unity-5.3 for cardboard VR?

I have imported the google cardboards unitypackage and it is working fine. Now I want to attach a skybox to the CardboardMain gameObject but I am stuck. The unity skybox component or the skybox mesh cardboard script, neither of them are doing the work. Also I couldn't not find any post regarding so...

If someone could help me out!!!

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
4

Answer by ianmacg · Mar 11, 2016 at 08:05 PM

Per http://answers.unity3d.com/questions/1131080/blue-scene-screen-with-cardboard-sdk.html it seems the answer is:

CardboardMain -> Head -> Main Camera -> Inspector: Camera -> Clear Flags : Skybox

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image trumen · May 07, 2016 at 06:07 AM 0
Share

Your answer works for unity 5.3, it helps!

avatar image
1

Answer by BrennanH · Feb 28, 2016 at 05:15 PM

There are two ways I have found.

1 - Easiest. Drag your skybox material into your scene and it replaced the default Unity skybox.

2 - Add the skybox to each Main Camera Left, Main Camera Right. Then edit the CardboardEye.cs Script. remove "Destroy(customSkybox);" at line 279

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image enigmatic · Feb 29, 2016 at 06:40 AM 0
Share

Dragging the skybox directly into the scene though add the skybox in the scene view but doesn't effect the game view... It still shows the background color.

I have added the skybox component to each camera object under the main camera and commented out the Destroy method in the CardboardEye script, but that also doesn't seem to work.

avatar image zeno490 · May 15, 2016 at 03:09 AM 0
Share

There are 3 ways, the first as you mention is the scene skybox under Windows -> Lighting, the second is to add a skybox component to the main camera (as ianmacg mentions, the clear flag must be changed), and the third is to add a skybox component on the left/right (which can be different) along with the clear flag fix and the c# fix.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

65 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How do you get the X and Z position of the map, which is in the center of the screen? 1 Answer

Water camera effects 0 Answers

Camera FX to fade out back to normal 0 Answers

Make camera collide 2 Answers

How many ways are there to clamp 3d objects? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges