Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Cinemachine Automatically Setting Camera Far Clip Plane

Discussion in 'Cinemachine' started by Little_Gorilla, Mar 13, 2019.

  1. Little_Gorilla

    Little_Gorilla

    Joined:
    Oct 11, 2013
    Posts:
    98
    Been running into an issue where the Cinemachine Brain script is setting the Far Clip Plane of the camera to 5000.

    This seems like way too much and I'd like to have control over it. Is there any way to stop Cinemachine from doing this?
     
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    3,841
    Yes, set it here in your virtual camera:

    upload_2019-3-13_11-33-4.png
     
  3. Little_Gorilla

    Little_Gorilla

    Joined:
    Oct 11, 2013
    Posts:
    98
    Oops that makes sense, I forgot to check there.
    I really appreciate the quick reply!
     
  4. deadlycrow

    deadlycrow

    Joined:
    Feb 10, 2014
    Posts:
    125
    any way to change that in runtime? or to disable cinemachine overriding this parameter so i can control that from a custom script ?
     
  5. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    3,841
    Your custom script can manipulate
    vcam.m_Lens.FarClipPlane
    . That value will be pushed every frame from the vcam to the Camera.
     
unityunity