Feature Request: Keeping Ambient Occlusion step separate

From Dragon Age Toolset Wiki
Jump to: navigation, search
BioWare BWIcon rgb.png
This issue has been recorded in BioWare's internal tracking system.

Reference number: 213707 -BryanDerksen

Synopsis

The suggestion is to keep the ambient occlusion maps separate from the other lightmapping maps, and only merge them together once a Post is being done. Since ambient occlusion only depends on level geometry, but not on the lighting, that would greatly speed up relighting a level.

Description

Currently, the lightmapper creates one "layer" of light maps, with everything baked into it. If you move one light and want to update the lighting info, you have to recalculate lightmapping + shadow maps + ambient occlusion.

Ambient occlusion doesn't depent on the lights in the level, however, only the geometry influences the result, so recalculating AO is superfluous if only lighting changes.

A lot of time could be saved, if ambient occlusion maps were only regenerated when models are moved around, but not if only lights get changed (either position or settings). The lightmapper could cache the separate ambient occlusion maps and only merge them with the other lightmapping results when a Post is being done.

Generation of the AO maps / light maps could either be tracked automagically (with dirty flags on geometry and lights), or manually, by adding "Render AO", "Render Lightmaps" and "Render AO + Lightmaps" buttons.