New ambient occlusion effect in render pipeline
Showing the changes to interface/src/Application.cpp (1 of 15 files). Show all
Unified · Split
| @@ -3265,6 +3265,8 @@ void Application::displaySide(RenderArgs* renderArgs, Camera& theCamera, bool se · 3264 unmodified lines | |||
| 3265 | 3265 | ||
| 3266 | renderContext._drawItemStatus = sceneInterface->doEngineDisplayItemStatus(); | 3266 | renderContext._drawItemStatus = sceneInterface->doEngineDisplayItemStatus(); |
| 3267 | 3267 | ||
| 3268 | renderContext._occlusionStatus = Menu::getInstance()->isOptionChecked(MenuOption::DebugAmbientOcclusion); | ||
| 3269 | |||
| 3268 | renderArgs->_shouldRender = LODManager::shouldRender; | 3270 | renderArgs->_shouldRender = LODManager::shouldRender; |
| 3269 | 3271 | ||
| 3270 | renderContext.args = renderArgs; | 3272 | renderContext.args = renderArgs; |