Table of contents
Create Occlusion Culling that comes with Uinty
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
- create as wall
- set static
- static occluder
Create occluded objects
- Create as cube
- set static
- static object
start baking
- First find the Occlusion
- Find the second Bake option
- Smallest visor (demand adjustment)
- Smallest hole (demand adjustment)
- Threshold along the wall (generally 100 is not recommended to change)
- start baking
The camera must be inside the blue frame! ! !
adjust camera
- First find the Occlusion
- Find the third one as shown in the picture
- find the camera
remember bake
The camera must be inside the yellow frame! ! !
There is a problem with opening the door, etc.
- find the door first
- add this component
- If Open is true, the door is opened, otherwise it is vice versa