Search Unity

Issue with draw distance (I think)

Discussion in 'General Graphics' started by travisgm91, Oct 3, 2018.

  1. travisgm91

    travisgm91

    Joined:
    Dec 27, 2012
    Posts:
    8
    Hi,

    I've got a problem with a mesh not being rendered when the camera comes to close.
    I've attached a video to help illustrate the issue.
    Does anyone know any editor tweaks to perhaps remove a mimium draw distance?
    I have already tried messing with the "far clipping plain" on the camera.



    Many thanks,
    Travis
     
    Last edited: Oct 3, 2018
  2. mbowen89

    mbowen89

    Joined:
    Jan 21, 2013
    Posts:
    639
    Is that door a skinned object? Look at the bounding box for the mesh renderer, if it is not in the view of the camera it'll be hidden.
     
    karl_jones likes this.
  3. travisgm91

    travisgm91

    Joined:
    Dec 27, 2012
    Posts:
    8
    Ah-ha yep. The issue was in the Skinned Mesh Renderer component.
    All I did was check the "Update when not on screen" box and its fixed.
     
  4. mbowen89

    mbowen89

    Joined:
    Jan 21, 2013
    Posts:
    639
    You can modify the bounding box to make sure it's visible during it's full range of movement, otherwise it will use more performance than necessary.