From 67b4027ea37fe868715d3482c74390b8030bc3e5 Mon Sep 17 00:00:00 2001 From: Mango-3 Date: Sat, 31 Aug 2019 15:04:18 +0300 Subject: [PATCH] Fix Enable Caustics --- src/appleseed-max-impl/appleseedrenderer/renderersettings.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/appleseed-max-impl/appleseedrenderer/renderersettings.cpp b/src/appleseed-max-impl/appleseedrenderer/renderersettings.cpp index db1b4cd..e512fc5 100644 --- a/src/appleseed-max-impl/appleseedrenderer/renderersettings.cpp +++ b/src/appleseed-max-impl/appleseedrenderer/renderersettings.cpp @@ -424,6 +424,7 @@ void RendererSettings::apply_common_settings(asr::Project& project, const char* if (!m_dl_enable_dl) params.insert_path("gpt.enable_dl", false); + params.insert_path("gpt.enable_caustics", m_enable_caustics); params.insert_path("gpt.dl_light_samples", m_dl_light_samples); params.insert_path("gpt.dl_low_light_threshold", m_dl_low_light_threshold); params.insert_path("gpt.ibl_env_samples", m_ibl_env_samples);