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 /
avatar image
1
Question by Tobias · Mar 21, 2010 at 12:36 AM · skybox

Problem with creating skyboxes

Ive added skyboxes to main camera and assigned a material on it.

But when I look in the sky its going crazy, blinking, flickering, ...

Is it possible to make a fbx objekt as skybox?

Thank you

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

3 Replies

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by equalsequals · Jun 28, 2010 at 04:38 PM

There are a few ways to implement a custom skybox. I'll focus on 2 of them that I have used:

If you play around in other engines, like Unreal/UDK for example you will see that their skyboxes are just a huge dome that exists so far from the playable area of the level that the user will never be able to interact with it.

Another way of implementing a custom skybox is with a 2 camera setup. You import your skybox game object and assign it to a layer of it's own ie [Skybox].

You create a camera with a depth of 0 and tell it to only render the layer skybox.

Then your camera at depth 1 will be your Main Camera, and it renders everything else but your skybox and has a Clear Flag of Depth Only.

Now if you test your level as is you will notice that if your Main Camera moves your skybox is not tracking along with your cam. You will need to attach a script to your skybox cam which copies the rotation of your Main Camera every frame. This will simulate everything being rendered with the same camera.

Hope that helps,

==

Comment
Add comment · 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
1

Answer by naruse · Mar 22, 2010 at 11:25 AM

Is not possible to make a fbx object as a skybox, skybox are textures that are not possible to reach why would you want to have a FBX? probably I dont understand pretty well.

Can you give us more information about that "Blinking, flickering stuff?"

maybe you can record it and show us using Jing http://www.jingproject.com/

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 Tobias · Mar 22, 2010 at 04:59 PM 0
Share

first, thanks for you reply.

Do you know world of warcraft? They are using m2 models (same as monsters, buildings,..) for animated skyboxes. So I was thinking that unity3d can do the same with fbx models.

I've fixed the blinking stuff, I just deleted the FPS camera (not the first person camera) from the island demo. Every time I was moving, the skybox was showing me the view of the FPS camera.

Really dont know why, but ok^^

avatar image equalsequals · Jun 28, 2010 at 04:17 PM 0
Share

Actually, you can make custom skyboxes. They won't be the out-of-the-box skybox that is bundled in Unity by default but it can be done.

avatar image
1

Answer by mineus64 · Jul 01, 2013 at 05:52 PM

When I try to create a skybox, via Create->Material and then changing the Shader to Render FX->Skybox, for some reason I can't add textures to it.

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 iproperty · Apr 16, 2015 at 08:16 AM 0
Share

You need to convert your Texture Type into Reflection type.

Under your texture properties (in Unity Inspector),

  1. Change to 'Reflection' in Texture Type.

  2. Change to 'Cylindrical' in $$anonymous$$apping.

On your material,

  1. Change its Shader to Render FX/Skybox Cubed.

  2. Drag your texture into the Cubemap of your material.

Go to Edit -> Render Settings,

  1. Drag your material to Skybox $$anonymous$$aterial property.

Note: You can change the Skybox $$anonymous$$aterial in Render Settings via script:

  1. Create a folder called Resources, drag your material into it.

  2. and:

          $$anonymous$$aterial layout$$anonymous$$at = ($$anonymous$$aterial)Resources.Load("my$$anonymous$$at", typeof($$anonymous$$aterial));
          RenderSettings.skybox= layout$$anonymous$$at; 
    
    
    
    
    
    
    

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

1 Person is following this question.

avatar image

Related Questions

Show Infinite Land Area for Earth 1 Answer

Gradien Skyboxes problem 0 Answers

What are the differences between 2018.2 and 2019.2 skybox UVs? 2 Answers

How i can represent a Skybox in a shop by using an image? 1 Answer

Convert skydrome to skybox? 1 Answer


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