From 36268fcb5017dc08121d8a4bfa60fc6dfced692e Mon Sep 17 00:00:00 2001 From: doodlum <15017472+doodlum@users.noreply.github.com> Date: Thu, 18 Sep 2025 03:35:45 +0100 Subject: [PATCH] fix(sss): disable burley, broken --- src/Features/SubsurfaceScattering.cpp | 7 ++++--- src/Features/SubsurfaceScattering.h | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Features/SubsurfaceScattering.cpp b/src/Features/SubsurfaceScattering.cpp index 70416cd2e8..a1e6a35707 100644 --- a/src/Features/SubsurfaceScattering.cpp +++ b/src/Features/SubsurfaceScattering.cpp @@ -30,9 +30,10 @@ void SubsurfaceScattering::DrawSettings() ImGui::SliderFloat("Strength", &settings.CharacterLightingStrength, 0, 5, "%.2f"); } - ImGui::RadioButton("Separable SSS", &settings.SSMode, 0); - ImGui::SameLine(); - ImGui::RadioButton("Burley", &settings.SSMode, 1); + // Burley currently broken, disabled + // ImGui::RadioButton("Separable SSS", &settings.SSMode, 0); + // ImGui::SameLine(); + // ImGui::RadioButton("Burley", &settings.SSMode, 1); if (settings.SSMode == 0) { if (ImGui::TreeNodeEx("Base Profile", ImGuiTreeNodeFlags_DefaultOpen)) { diff --git a/src/Features/SubsurfaceScattering.h b/src/Features/SubsurfaceScattering.h index 8196a08756..2081498f05 100644 --- a/src/Features/SubsurfaceScattering.h +++ b/src/Features/SubsurfaceScattering.h @@ -20,7 +20,7 @@ struct SubsurfaceScattering : Feature { uint EnableCharacterLighting = false; float CharacterLightingStrength = 1.0f; - int SSMode = 1; + int SSMode = 0; DiffusionProfile BaseProfile{ 0.5f, 1.0f, { 0.48f, 0.41f, 0.28f }, { 0.56f, 0.56f, 0.56f } }; DiffusionProfile HumanProfile{ 0.5f, 1.0f, { 0.48f, 0.41f, 0.28f }, { 1.0f, 0.37f, 0.3f } }; uint BurleySamples = 16;