From 3b21f469913538cbfbf08c3981eec2264372bcdc Mon Sep 17 00:00:00 2001 From: datacrystals Date: Sun, 12 Jun 2022 02:32:11 +0000 Subject: [PATCH] Implement Spot Light Shadows (#217) --- Source/Core/Writers/ERS_SceneWriter/ERS_SceneWriter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Core/Writers/ERS_SceneWriter/ERS_SceneWriter.cpp b/Source/Core/Writers/ERS_SceneWriter/ERS_SceneWriter.cpp index f258981fba..bf500f0742 100644 --- a/Source/Core/Writers/ERS_SceneWriter/ERS_SceneWriter.cpp +++ b/Source/Core/Writers/ERS_SceneWriter/ERS_SceneWriter.cpp @@ -158,6 +158,7 @@ std::string SceneWriter::ProcessScene(ERS_STRUCT_Scene* InputScene) { Output << YAML::Key << "Intensity" << YAML::Value << InputScene->PointLights[i]->Intensity; + Output << YAML::Key << "MaxDistance" << YAML::Value << InputScene->PointLights[i]->MaxDistance; Output<