diff --git a/Nuake/src/Scene/Lighting/Environment.cpp b/Nuake/src/Scene/Lighting/Environment.cpp index 7149adc4..66752561 100644 --- a/Nuake/src/Scene/Lighting/Environment.cpp +++ b/Nuake/src/Scene/Lighting/Environment.cpp @@ -278,6 +278,11 @@ namespace Nuake { BarrelDistortionEnabled = j["BarrelDistortionEnabled"]; } + if (j.contains("BarrelDistortion")) + { + BarrelDistortion = j["BarrelDistortion"]; + } + if (j.contains("BarrelEdgeDistortion")) { BarrelEdgeDistortion = j["BarrelEdgeDistortion"];