Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 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 stblue · Apr 29, 2014 at 04:55 AM · cameraiosskyboxtransparent

How to make skybox transparent.

I am developing an ios application where i will give models to application using unity, and i want to run camera of idevices in background, so i want to know how to make skybox transparent, so that i can run camera in background, only model will be visible on top of camera.

Comment
Add comment · Show 1
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 CHPedersen · Apr 29, 2014 at 09:53 AM 0
Share

You can't make the skybox transparent, because when selected, the camera is cleared to the skybox. There is nothing else in the frame buffer at the time the skybox is rendered. (Or, more precisely, the previous frame is in the frame buffer at this time). What would you expect to see behind a transparent skybox? Or do you just want to fill the frame buffer with alpha < 1 pixels at the beginning of each frame?

2 Replies

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

Answer by KiraSensei · Apr 29, 2014 at 08:08 AM

Actually you don't need to make the skybox transparent. What I think you really need is THIS. It will allow you to display only specific elements from a camera.

Personally I use this trick when I want to display some elements at the same place of the screen at anyh time for a first person shooter for example : a camera follows the player, and another displays only ammo, used weapon, ... The second camera displays only a specific layer and nothing else.

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 stblue · Apr 29, 2014 at 09:44 AM 0
Share

@kiraSensei Tried but not working, since native camera of iphone hides behind unity scene layer.

avatar image stblue · Apr 29, 2014 at 09:51 AM 0
Share

@kiraSensei my main motive is to put ios native view behind unity view

avatar image KiraSensei · Apr 29, 2014 at 12:38 PM 0
Share

You need to change the depth of the cameras to put one "in front of" another, make them display first something and then only display something else.

avatar image
0

Answer by Asraas · Mar 26, 2021 at 11:03 AM

Hey i know thats an old one, but did you find a solution? i need the exact same thing... Thanks

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

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

23 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

Related Questions

WebCamTexture, get correct resolution and RATIO. 5 Answers

Resolution problem!!! 2 Answers

The name 'Joystick' does not denote a valid type ('not found') 2 Answers

Unity Camera roll on iOS - access information about photos and videos 0 Answers

Snapping image and display it on next scene 2 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