• 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
1
Question by riverdore · Aug 17, 2012 at 03:56 PM · image effectsdepthy axisfpc

Very Noob question regarding FPC.

Whenever i add image effects to my FPC it obviously wont show unless i increase depth on my camera right?

although for some odd reason when i do i lose the y axis on my camera, and im restricted looking around horizontally.

whats the reason behind this? thanks if anyone helps out!

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

Answer by Khada · Aug 17, 2012 at 05:25 PM

The cameras depth variable only relates to it's draw order and is (more-or-less) irrelevant if you only use a single camera. Not sure what FPC is though, I'll try to help more if you can post that up.

EDIT:

Ahh yes, I see the problem having tested it now. In short, the built in character controller has a camera attached to the 'First Person Controller' (lets call this CamA) and another camera attached as a separate, child object of the 'First Person Controller' (lets call this CamB).

CamA only rotates around on the Y axis (probably due to being a component of an object with a rigid body that's constrained to Y rotation), Where as CamB rotates in all directions.

When you increase the depth of CamA, you make it draw AFTER CamB, effectively overriding CamA. Thus - locked rotation.

All you have to do is remove/disable CamA and use CamB instead (apply effects to this one etc).

Comment
Add comment · Show 4 · 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 riverdore · Aug 18, 2012 at 09:53 AM 0
Share

No problem!

FPC is First Person Camera, im trying to have the image effects take effect on the camera of my first person controller, "wasd" movement works fine, although i lose the y axis when looking around with my camera and im stuck on my x axis.

try it, add image effects to a FPC from Standard Assets, and increase the depth of the camera by a bit, it kills the y axis for some odd reason.

avatar image Khada · Aug 18, 2012 at 11:42 PM 0
Share

See edited answer :)

avatar image Khada · Aug 19, 2012 at 07:32 AM 0
Share

Let me know if this did the trick (also don't forget to mark as answer if it did).

avatar image riverdore · Aug 20, 2012 at 12:57 AM 0
Share

Perfect! thank you so much! so i guess whenever applying specific features, i got to make sure to apply it to the child not the parent:)

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

9 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

ImageEffects and multiple camera depths 0 Answers

Distance from pixel to camera in shader 0 Answers

Depth of Field Ignoring Particles 2 Answers

RenderTexture behaviour inconsistent to Cameras, Rendering two times to a RenderTexture respecting depth, Rendering object visibility 0 Answers

What colour depth should I use 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