Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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
0
Question by mcfetrmatt · May 23, 2012 at 09:37 PM · skyboxtransition

Skybox Transition

Hi there,

I am trying to make a transition between two sky's and no tutorial or script I can find seems to work. Could someone spell out for me how to achieve this? I am quite new sorry. Also say if the script is in C# or JS and where you placed it. I will be looking to make the sky transition start once the player collides with an object.

Many thanks

Matthew

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

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by Wolfram · May 23, 2012 at 09:54 PM

The idea of Unity Answers is not to ask for scripts and get them delivered. Generally, people will simply give you pointers and encourage you to find or create your own solution.

However, the script to blend between two skyboxes already exists, and it took me approximately 17 seconds to google it up. Apparently it had some problems with Unity 3.x, but there is already a fix for that: http://forum.unity3d.com/threads/60990-solved-Skybox-blend-broken-in-Unity-3

If that still doesn't work, I'll have to check the version of it which we are using, but I can only do that tomorrow. It definitely works with 3.5.

Comment
Add comment · Show 3 · 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 mcfetrmatt · May 23, 2012 at 10:10 PM 0
Share

Great thanks Wolfram, duly noted.

I am unable to download the example file on that site and when I copy the script in I get A LOT of errors in unity? Im using version 3.5.1f2.

This is what I meant by not being able to find something that works, or works with my knowledge. You dont know a recent tutorial that covers all the basics?

Thanks

avatar image Wolfram · May 24, 2012 at 10:12 AM 0
Share

Hm, I cannot reproduce this, the Shader in the Wiki works exactly as it should. We're using the exact same version, except we have an additional "ZWrite On" in there, but that should be irrelevant in the general case.

Just right-click in your Project tab, select "Create->Shader", edit it, and copy everything in the "ShaderLab - SkyboxBlended.shader" section of http://www.unifycommunity.com/wiki/index.php?title=SkyboxBlended into that.

$$anonymous$$aybe you created a C#/JS-Script for that? You need a Shader, this is not a script.

avatar image mcfetrmatt · May 24, 2012 at 11:01 PM 0
Share

@Wolfram $$anonymous$$resse Thanks for that! I didn't actually realise that it was a shader file....It's in my project panel fine now.

Do you know any tutorials to show me how to use this? Or for the method behind it? I tried googling it but my knowledge is too small to find anything useful.

Thanks a lot!!

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Day/Night cycle transition help? 2 Answers

Unity skybox isn't showing true colors,Skybox colors are not true colors 0 Answers

Detail meshes renderices black when they hit the skybox on vr 0 Answers

Transition Free Fall into Sinus Hovering 3 Answers

Animator bug when activating a transition condition using SetBool 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