Skip to content

Commit

Permalink
Merge pull request doodlum#750 from doodlum/sss-text
Browse files Browse the repository at this point in the history
chore: sss menu text tweaks
  • Loading branch information
doodlum authored Nov 17, 2024
2 parents 09b6477 + 5388ffa commit 874c674
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/Features/ScreenSpaceShadows.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,10 @@ void ScreenSpaceShadows::DrawSettings()
{
if (ImGui::TreeNodeEx("General", ImGuiTreeNodeFlags_DefaultOpen)) {
ImGui::Checkbox("Enable", (bool*)&bendSettings.Enable);
ImGui::SliderInt("Sample Count", (int*)&bendSettings.SampleCount, 1, 4);

ImGui::SliderFloat("SurfaceThickness", &bendSettings.SurfaceThickness, 0.005f, 0.05f);
ImGui::SliderFloat("BilinearThreshold", &bendSettings.BilinearThreshold, 0.02f, 1.0f);
ImGui::SliderFloat("ShadowContrast", &bendSettings.ShadowContrast, 0.0f, 4.0f);
ImGui::SliderInt("Sample Count Multiplier", (int*)&bendSettings.SampleCount, 1, 4);
ImGui::SliderFloat("Surface Thickness", &bendSettings.SurfaceThickness, 0.005f, 0.05f);
ImGui::SliderFloat("Bilinear Threshold", &bendSettings.BilinearThreshold, 0.02f, 1.0f);
ImGui::SliderFloat("Shadow Contrast", &bendSettings.ShadowContrast, 0.0f, 4.0f);

ImGui::Spacing();
ImGui::Spacing();
Expand Down

0 comments on commit 874c674

Please sign in to comment.