Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Hybrid Renderer v2 culling issue

Discussion in 'Graphics for ECS' started by beevik_, Mar 16, 2021.

  1. beevik_

    beevik_

    Joined:
    Sep 27, 2020
    Posts:
    92
    I'm using Hybrid Renderer v2 (0.11.0-preview.42), and I've noticed an issue with the V2 hybrid culling.

    If you have an entity whose render bounds change every frame, but whose LocalToWorld transform does not, then the culling info never gets recomputed by the hybrid renderer. This leads to visible culling bugs, where the object is being culled (or not being culled) when it should.

    I've been able to work-around the issue by tweaking the LocalToWorld component a small amount whenever the bounds change, but this is obviously not a great solution.
     
    apkdev likes this.