- Home /
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!
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).
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.
Let me know if this did the trick (also don't forget to mark as answer if it did).
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
Follow this Question
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
How can I tint a texture? 0 Answers