Search Unity

Enabling Cinemachine; all shadows go away ?!

Discussion in 'Cinemachine' started by DiscoFever, Dec 5, 2018.

  1. DiscoFever

    DiscoFever

    Joined:
    Nov 16, 2014
    Posts:
    286
    When I add a simple Cinemachine virtual camera; all my shadows go away !?!
    Is this a bug? Did someone else experience the same issue ?
     
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,712
    Cinemachine only animates the Camera's transform and lens setting. It doesn't touch anything else. I suspect that you have inadvertently enabled a new Camera which hides your real one. Can you show me your project hierarchy, with all cameras and vcams visible?
     
  3. Adam_Myhill

    Adam_Myhill

    Joined:
    Dec 22, 2016
    Posts:
    342
    Cinemachine does let you set near and far clip planes on the camera. Check to make sure the CM values match whatever you had on your main camera. That could be a possibility as the clip plane settings affect shadow resolution
     
  4. naodisseporfavor

    naodisseporfavor

    Joined:
    Jul 18, 2019
    Posts:
    6
    I put the shadow Z to 1000 and it worked for me.
    upload_2022-3-17_1-31-34.png