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
6
Question by AlwaysSunny · Apr 29, 2013 at 07:58 PM · renderinggraphicsrendertexturecullingimage-effects

Multiple cameras, depths, and image effects!

Hi everyone,
I want to apply image effects to a camera that only renders distant objects. I then want to render my foreground objects without these image effects. I want to create the illusion that the scene is rendered by one camera.

By default, without fiddling with manual render calls, render textures, Blit(), etc, my foreground camera negates any image effects applied to the background camera. Given they represent completely independent depths, both intuitively and as defined by camera depth and culling layers, this seems like it should be trivial to achieve.

Can someone please take a look and give me something specific to try? Thanks! alt text

image_fx_help2.jpg (315.5 kB)
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 AlwaysSunny · Apr 30, 2013 at 03:28 AM 0
Share

Having taken explicit control over the whole rendering process, I've come up with a more specific question. It seems that all I need to do is have my foreground camera "clear" to the background camera's output. I realize this is automatic when the foreground camera is set to clear DepthOnly, but image effects applied to the background camera output are not preserved without some as-yet mysterious programmer intervention.

Think you have a solution? I'll polish and share my asset if I receive help that results in a working model!

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Shkarface-Noori · Aug 31, 2013 at 04:16 PM

Use Tilt Shift images effect on the main and only camera, that's all for blurry background

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 Delcast · May 15, 2014 at 07:37 AM

Did you manage to get this done? I was having a similar problem and I'm currently writing a tutorial on how to do it ( I figured it out with much investigation. ) I'll post it when it's ready.

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

16 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

Related Questions

Graphics.DrawTexture vs GUI.DrawTexture vs Graphics.Blit 0 Answers

Where To Learn Occlusion Culling Scripts 1 Answer

The alpha value in the RenderTexture are not the same in Editor mode and Build mode. 2 Answers

OnRenderImage does not work in HDRP 0 Answers

[Unity SRP] How do I clear 3d RW RenderTexture? 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