DDGI updates (#514)

DDGI updates:
- allow 0 raycount to keep static DDGI
- DDGI serialization for saving and loading with scene
- grid dimensions configurable
- refactors
This commit is contained in:
Turánszki János
2022-08-18 11:50:09 +02:00
committed by GitHub
parent 1c3b874a44
commit 084a1b1f1f
13 changed files with 290 additions and 81 deletions
+1 -1
View File
@@ -747,7 +747,7 @@ void ObjectWindow::Create(EditorComponent* _editor)
AddWidget(&generateLightmapButton);
stopLightmapGenButton.Create("Stop Lightmap Gen");
stopLightmapGenButton.SetTooltip("Stop the lightmap rendering and save the lightmap.");
stopLightmapGenButton.SetTooltip("Stop the lightmap rendering and save the lightmap.\nIf denoiser is enabled, this is the point at which lightmap will be denoised, which could take a while.");
stopLightmapGenButton.SetPos(XMFLOAT2(x, y += step));
stopLightmapGenButton.SetSize(XMFLOAT2(wid, hei));
stopLightmapGenButton.OnClick([&](wi::gui::EventArgs args) {