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 Sayuka · Jun 20, 2014 at 09:46 AM · texturebackgroundskybox

Question about adding a cut-texture to background

What I am wondering is if it's possible to place a texture itself in the background. Now, I know I could make a plane or a cube and put the texture there, but that would not do what I want.

I have a cloudy skybox set up and want to have a city-skyline in the background, all textures I have include a sky by default that does not fit to the skybox. I can cut out the sky and leave only the buildings, though that would leave the basic color of the cube/plane below and not fit as well.

My goal would be to cut out the sky in the texture, so that part becomes transparent (that shouldn't be an issue, seems to work fine for me) and then place the texture itself into my game-background with the textures transparent parts still being transparent.

Is there a way of doing so?

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
0
Best Answer

Answer by Nerevar · Jun 20, 2014 at 11:22 AM

Hello,

I think the easiest thing to do would be to create your own skybox texture, with buildings on the horizon and sky for all the other parts. Its more like a graphical design problem. You could modify such a image (with gimp, photoshop...) alt text

and add your city skyline parts to the different faces of the cube map.

to have something like this (white parts should be transparent but I didn't take the time to remove it :p, and yeah it is ugly but its just an example so you understand the principle ^^)

alt text

then use this as a skybox in unity. (You can find many skybox texture over the net if you need some more samples.)


skyline.png (200.3 kB)
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 Sayuka · Jun 20, 2014 at 04:04 PM 0
Share

I thought making a skybox was much more complex, though that could actually work. An idea I also had was to take the background of my skyline and just try to color it as fitting as possible to the skybox background, though that probably would not look very nice.

avatar image Sayuka · Jun 21, 2014 at 09:28 AM 0
Share

I'm gonna mark your answer, probably the best way, though I won't yet stop trying other ideas too =)

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

2 People are following this question.

avatar image avatar image

Related Questions

Assigning UV Map to model at runtime 0 Answers

Changing Skybox tint in game, permanently changes it in editor? 1 Answer

How to access the textures within a skybox from script 1 Answer

Skybox Texture doesn't display correctly on iOS build 0 Answers

How can I display a flat background - 2D image, not a skybox - behind everything in my camera? 4 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