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
2
Question by roger0 · May 20, 2014 at 04:34 PM · skyboxfogbloompost effects

Exclude skybox from Bloom Effect

I am wondering if its possible to exclude the skybox and fog from being effected by the Bloom and Lens Flare effect? The shader makes the objects in the scene look nice but it blows out the sky and the fog.

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

4 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Whiteleaf · Oct 06, 2015 at 03:04 AM

As Pawscal said, try making 2 separate cameras to render the skybox/anything else. just put the new camera's "Clear Flags" to be "Don't Clear".

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
0

Answer by Pawscal · May 20, 2014 at 05:43 PM

I guess you can't since bloom and lens flare are post process effects applied to your entire image once it has been rendered. You would have to have two cams, one used to render the sky, the other to render the rest of the scene and composite them together.

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 roger0 · Oct 06, 2015 at 02:34 AM 0
Share

How can I render the skybox on one camera and everything else on another? The skybox does not appear to be on a specific layer so I cant exclude it from being rendered.

avatar image
0

Answer by ZiadJ · Jun 25, 2016 at 12:35 PM

You might set the Clear Flags value for the main camera to 'Don't Clear' or 'Depth Only' to remove the skybox. You can then restore it via a separate camera by setting its culling mask to 'Nothing' and depth to a value below that of the main camera.

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
0

Answer by ThreeRing · Jan 08, 2020 at 01:58 AM

@ZiadJ @Pawscal @Whiteleaf @roger0

Hi everyone, I'm having a similar problem here... (sorry for reviving an old post) I have tried the above methods but can't seem to get this right...

What I want to achieve: - To have a few objects in the back, some UI elements on top of these, and apply a blur effect ONLY to the UI elements (the objects in the back must not be affected).

I have tried so many things, but until now I could only get the effect to affect everything, or only the back objects... I'm using two cameras, one for the back objects (which are in their own layer), and one for the UI elements and blur effect. I don't need the Skybox so I'm putting both cameras' Clear Flags as "Depth only", and each one's Culling Mask as the layer I want to be rendered (one for the UI elements, and another one for the back objects). The back objects layer has a depth of -1, and the UI elements one has a depth of 1. Both cameras are being rendered in the Display 1.

Any help would be appreciated! Thank you in advance!!!

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

24 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

Related Questions

Represent Land 3D Area End 0 Answers

Unity - Hide the Edge Of The Level 1 Answer

How to affect the skybox?! 2 Answers

How do i make the sky box a solid color or make fog affect it... 1 Answer

Skybox and color correction with steamVR 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