Unity performance optimization – occlusion

1. The meaning of Occlusion Culling-Occlusion Culling: Game objects that are not in Camear’s field of view are not rendered Render (by default, Unity will render all GameObjects, regardless of whether Camear can see them), for example Below:

Share a picture< /p>

2. The use is relatively simple, and the effect is immediate

(1) Configure the game object:

share picture

(2) “window” menu->Rendering->Occulision Culling,

p>

(3) Tab item “Object”, select “All”

Share picture

(4) Switch to the Bake menu and use the default parameters directly. After “Bake” (baking), Bake data is generated (this data is very small );

share picture

(5) Run the game and you can observe in the “Scene” window that objects that are not within the scope of the Camera will not be rendered.

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 2612 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.