Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Question Culling inside an inverted cube

Discussion in 'VR' started by ttttkk, Jul 16, 2023.

  1. ttttkk

    ttttkk

    Joined:
    Oct 2, 2016
    Posts:
    7
    I have a question about culling, if the camera is inside an inverted cube which acts as a house with no hole (windows), the objects outside the cube are still rendered, how can I fix it?
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,560
    Use occlusion culling.
    Unity's solution is a bit CPU heavy for VR, but works.
    There are some solutions on the asset store which are faster (check for VR compatibility).

    If you work with seperate rooms manually enabling and disabling the whole gameobject is the fastest