Skip to main content
Up and Coming
May 28, 2013

far clipping plane bug (>1000 has no effect)

I have a 1000x1000 units (meter) big playing field. So when I am at one corner I can no longer see the the opposite corner with far clipping set to 1000.
But changing the value has no effect - I set it to 5000 in the end to be sure, but still the other corner is clipped away.
The setting can be set on the OVRCameraController as well as on CameraLeft & CameraRight.

Is it a bug or am I missing something? I'd rather stick with my 1 Unity unit = 1m scale.
    This topic has been closed for replies.

    13 replies

    Up and Coming
    September 13, 2014
    simmilar issue. changed values on cameras and OVRCameraController. changed even in OVRCameraController script.. No lock . Far clip planes are still at the same distance. the strange thing is that it works on monitor, but with rift on does't.

    [SerializeField]
    public float NearClipPlane
    {
    get{return nearClipPlane;}
    set{nearClipPlane = value; UpdateCamerasDirtyFlag = true;}
    }
    [SerializeField]
    private float nearClipPlane = 0.15f;

    /// <summary>
    // Gets or sets the far clip plane for both cameras
    /// </summary>
    /// <value>The far clip plane.</value>
    public float FarClipPlane
    {
    get{return farClipPlane;}
    set{farClipPlane = value; UpdateCamerasDirtyFlag = true;}
    }
    [SerializeField]
    private float farClipPlane = 91000.0f;
    GeraldAuthor
    Up and Coming
    September 13, 2014
    there is no reason to change the code - you likely just forgot the same thing I did, apply your changes to the prefab.

    I changed it a couple of times already with the current SDK and never had a problem :)
    check out my Mobile VR Jam 2015 title Guns N' Dragons
    Up and Coming
    September 13, 2014
    "Gerald" wrote:
    there is no reason to change the code - you likely just forgot the same thing I did, apply your changes to the prefab.

    I changed it a couple of times already with the current SDK and never had a problem :)



    Now its working like a charm XD
    thx