surfel gi boost fix

This commit is contained in:
Turánszki János
2022-01-15 15:25:38 +01:00
parent ddd276d0ac
commit e55423d26a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ void RendererWindow::Create(EditorComponent* editor)
});
AddWidget(&surfelGIDebugComboBox);
surfelGIBoostSlider.Create(1, 10, 1.0f, 1.0f, "Surfel GI Boost: ");
surfelGIBoostSlider.Create(1, 10, 1.0f, 1000.0f, "Surfel GI Boost: ");
surfelGIBoostSlider.SetTooltip("Adjust the strength of surfel GI.\nNote that values other than 1.0 will cause mismatch with path tracing reference");
surfelGIBoostSlider.SetSize(XMFLOAT2(100, itemheight));
surfelGIBoostSlider.SetPos(XMFLOAT2(x, y += step));
+1 -1
View File
@@ -96,7 +96,7 @@ bool disableAlbedoMaps = false;
bool forceDiffuseLighting = false;
bool SCREENSPACESHADOWS = false;
bool SURFELGI = false;
float SURFELGI_BOOST = 8.0f;
float SURFELGI_BOOST = 1.0f;
SURFEL_DEBUG SURFELGI_DEBUG = SURFEL_DEBUG_NONE;