Search Feedback

57
votes

Allow for baking occlusion culling at runtime

Profiling & Optimization

-

-

With the introduction of the runtime NavMesh API in 5.6, we got one step closer to awesome procedural levels and user-created levels out of the box. But some larger levels and/or levels with a lot of details can get really slow at times. This is where occlusion culling can help.

The occlusion culling in the editor can do wonders at times and the ability to use it at runtime would really benefit games that created semi-large levels at runtime or user-created levels.

And you can think; it takes a lot of time to bake. And of course it will take time but if you want this in your game, you can probably find a way to integrate it so it seems seamless.
Personally, I would use it when exporting a level from my level editor.

When baking at runtime, the developers should get access to some serializable values. I don't know exactly how they are saved in the editor but if Unity can do it, so should we be able to. So you can save it to a file and then load the occlusion data at runtime.

This would make the procedural and user-created levels area pretty much complete when it comes to providing easy to use and powerful tools at runtime to contribute to the game.

Your opinion counts

Help us make things better. Share your great idea for improving Unity or vote for other people’s.

Log in to post a new idea

Categories

All

(11030)

2D

(290)

Ads

(63)

AI & Navigation

(83)

Analytics

(130)

Animation

(413)

Asset Store

(370)

Asset Store Publisher

(21)

Assets

(557)

Audio

(185)

Cloud Build

(154)

Collaborate

(70)

Docs & Tutorials

(251)

Editor

(2579)

Everyplay

(17)

Game Performance Reporting

(22)

General

(1003)

Graphics

(903)

GUI

(447)

Input

(173)

Licensing

(93)

Networking

(192)

Physics

(392)

Platforms

(448)

Profiling & Optimization

(84)

Runtime

(188)

Scripting

(1154)

Terrain

(177)

WebGL

(145)