Search Unity

Occlusion culiing - shadows are rendered on culled objects?

Discussion in 'Editor & General Support' started by Ruslank100, Feb 28, 2019.

  1. Ruslank100

    Ruslank100

    Joined:
    Apr 11, 2018
    Posts:
    46
    Hi everyone, I baked occlusion culling on my scene, and in visualization windows, when I choose the correct camera, some objects are culled, but the shadows from them are still rendered!
    Any idea what I am doing wrong, or it is a bug?(I am using Unity 2018.2.6f1)
    culling.png
     
  2. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,609
  3. pistoleta

    pistoleta

    Joined:
    Sep 14, 2017
    Posts:
    539
    how the heck? won't fix??
    is there at least a workaround?
     
  4. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,609
    They're probably going to support that in their new rendering pipelines (LWRP and HDRP).

    Here is a quote from the linked issue tracker comments section:
     
  5. pistoleta

    pistoleta

    Joined:
    Sep 14, 2017
    Posts:
    539
  6. chingwa

    chingwa

    Joined:
    Dec 4, 2009
    Posts:
    3,790
    It is working for Directional Lights (well, it still has some strange behavior on culled objects, but it does work). However at least up to 2019.1.5 it doesn't work on Point Light shadows which is really disappointing.