Unity Occlusion Culling - Optimization

Table of contents

The effect is as follows 

Create Occlusion Culling that comes with Uinty

Create occluders

Create occluded objects

​Edit Start baking

adjust camera

There is a problem with opening the door, etc.


Disclaimer: Please indicate this link and source when using this content

 It's meaningless to say nothing about the theory

 Straight to start figuring out what comes with Uinty - Occlusion Culling

The effect is as follows 

Create Occlusion Culling that comes with Uinty

Create occluders

  1. create as wall
  2. set static
  3. static occluder

Create occluded objects

  1. Create as cube
  2. set static
  3. static object

 start baking

  1. First find the Occlusion
  2. Find the second Bake option
  3. Smallest visor (demand adjustment)
  4. Smallest hole (demand adjustment)
  5. Threshold along the wall (generally 100 is not recommended to change)
  6. start baking 

The camera must be inside the blue frame! !

adjust camera

  1. First find the Occlusion
  2. Find the third one as shown in the picture
  3. find the camera

remember bake 

The camera must be inside the yellow frame! !

There is a problem with opening the door, etc.

  1. find the door first
  2. add this component
  3. If Open is true, the door is opened, otherwise it is vice versa

Guess you like

Origin blog.csdn.net/q1295006114/article/details/130933827