message: Move IBL settings in their own category
diff: @@ -470,6 +470,21 @@ static void gui(filament::Engine* engine, filament::View*) {
  ImGui::Checkbox("castShadows", &params.castShadows);
  }
  + if (ImGui::CollapsingHeader("Indirect Light")) {
  + ImGui::SliderFloat("ibl", &params.iblIntensity, 0.0f, 50000.0f);
  + ImGui::SliderAngle("ibl rotation", &params.iblRotation);
  + ImGui::Indent();
  + if (ImGui::CollapsingHeader("SSAO")) {
  + DebugRegistry& debug = engine->getDebugRegistry();
  + ImGui::Checkbox("enabled###ssao", &params.ssao);
  + ImGui::SliderFloat("radius", &params.ssaoOptions.radius, 0.05f, 5.0f);
  + ImGui::SliderFloat("bias", &params.ssaoOptions.bias, 0.0f, 0.01f, "%.6f");
  + ImGui::SliderFloat("intensity", &params.ssaoOptions.intensity, 0.0f, 4.0f);
  + ImGui::SliderFloat("power", &params.ssaoOptions.power, 0.0f, 4.0f);
  + }
  + ImGui::Unindent();
  + }
  +
  if (ImGui::CollapsingHeader("Directional Light")) {
  ImGui::Checkbox("enabled", &params.directionalLightEnabled);
  ImGui::ColorEdit3("color", &params.lightColor.r);
  @@ -477,8 +492,6 @@ static void gui(filament::Engine* engine, filament::View*) {
  ImGui::SliderFloat("sunSize", &params.sunAngularRadius, 0.1f, 10.0f);
  ImGui::SliderFloat("haloSize", &params.sunHaloSize, 1.01f, 40.0f);
  ImGui::SliderFloat("haloFalloff", &params.sunHaloFalloff, 0.0f, 2048.0f);
  - ImGui::SliderFloat("ibl", &params.iblIntensity, 0.0f, 50000.0f);
  - ImGui::SliderAngle("ibl rotation", &params.iblRotation);
  ImGuiExt::DirectionWidget("direction", params.lightDirection.v);
  ImGui::Indent();
  if (ImGui::CollapsingHeader("Contact Shadows")) {
  @@ -487,14 +500,6 @@ static void gui(filament::Engine* engine, filament::View*) {
  ImGui::SliderInt("steps", &params.stepCount, 0, 255);
  ImGui::SliderFloat("distance", &params.maxShadowDistance, 0.0f, 10.0f);
  }
  - if (ImGui::CollapsingHeader("SSAO")) {
  - DebugRegistry& debug = engine->getDebugRegistry();
  - ImGui::Checkbox("enabled###ssao", &params.ssao);
  - ImGui::SliderFloat("radius", &params.ssaoOptions.radius, 0.05f, 5.0f);
  - ImGui::SliderFloat("bias", &params.ssaoOptions.bias, 0.0f, 0.01f, "%.6f");
  - ImGui::SliderFloat("intensity", &params.ssaoOptions.intensity, 0.0f, 4.0f);
  - ImGui::SliderFloat("power", &params.ssaoOptions.power, 0.0f, 4.0f);
  - }
  ImGui::Unindent();
  }
  