volumetric cloud updates:

- added light shaft occlusion support
- moved into weather
- parameter access, serialization
This commit is contained in:
Turanszki Janos
2021-06-16 21:57:20 +02:00
parent c0ff120e31
commit 1b7432a57f
21 changed files with 446 additions and 150 deletions
-10
View File
@@ -50,16 +50,6 @@ void PostprocessWindow::Create(EditorComponent* editor)
});
AddWidget(&lightShaftsCheckBox);
volumetricCloudsCheckBox.Create("Volumetric clouds: ");
volumetricCloudsCheckBox.SetTooltip("Enable volumetric cloud rendering.");
volumetricCloudsCheckBox.SetSize(XMFLOAT2(hei, hei));
volumetricCloudsCheckBox.SetPos(XMFLOAT2(x, y += step));
volumetricCloudsCheckBox.SetCheck(editor->renderPath->getVolumetricCloudsEnabled());
volumetricCloudsCheckBox.OnClick([=](wiEventArgs args) {
editor->renderPath->setVolumetricCloudsEnabled(args.bValue);
});
AddWidget(&volumetricCloudsCheckBox);
aoComboBox.Create("AO: ");
aoComboBox.SetTooltip("Choose Ambient Occlusion type. RTAO is only available if hardware supports ray tracing");
aoComboBox.SetScriptTip("RenderPath3D::SetAO(int value)");