rtao denoiser improvements

This commit is contained in:
Turanszki Janos
2020-09-25 00:24:05 +02:00
parent df7e907a28
commit d3f9a2a1b9
23 changed files with 475 additions and 82 deletions
+2 -2
View File
@@ -68,7 +68,7 @@ PostprocessWindow::PostprocessWindow(EditorComponent* editor) : GUI(&editor->Get
aoComboBox->AddItem("SSAO");
aoComboBox->AddItem("HBAO");
aoComboBox->AddItem("MSAO");
if (wiRenderer::GetDevice()->CheckCapability(GraphicsDevice::GRAPHICSDEVICE_CAPABILITY_RAYTRACING))
if (wiRenderer::GetDevice()->CheckCapability(GRAPHICSDEVICE_CAPABILITY_RAYTRACING))
{
aoComboBox->AddItem("RTAO");
}
@@ -150,7 +150,7 @@ PostprocessWindow::PostprocessWindow(EditorComponent* editor) : GUI(&editor->Get
editor->renderPath->setRaytracedReflectionsEnabled(args.bValue);
});
ppWindow->AddWidget(ssrCheckBox);
ssrCheckBox->SetEnabled(wiRenderer::GetDevice()->CheckCapability(GraphicsDevice::GRAPHICSDEVICE_CAPABILITY_RAYTRACING));
ssrCheckBox->SetEnabled(wiRenderer::GetDevice()->CheckCapability(GRAPHICSDEVICE_CAPABILITY_RAYTRACING));
sssCheckBox = new wiCheckBox("SSS: ");
sssCheckBox->SetTooltip("Enable Subsurface Scattering. (Deferred only for now)");