From f1a36c495d3f74940243fda9307aee13f5160eee Mon Sep 17 00:00:00 2001 From: antopilo Date: Mon, 2 Dec 2024 17:54:27 -0500 Subject: [PATCH] Removed DOF manual focus serialization, its always on by default --- Nuake/src/Scene/Lighting/Environment.cpp | 1 - Nuake/src/Scene/Lighting/Environment.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Nuake/src/Scene/Lighting/Environment.cpp b/Nuake/src/Scene/Lighting/Environment.cpp index e95780f8..6f4f81ae 100644 --- a/Nuake/src/Scene/Lighting/Environment.cpp +++ b/Nuake/src/Scene/Lighting/Environment.cpp @@ -310,7 +310,6 @@ namespace Nuake } DESERIALIZE_VAL(DOFAutoFocus); - DESERIALIZE_VAL(DOFManualFocus); DESERIALIZE_VAL(DOFFocalDepth); DESERIALIZE_VAL(DOFFocalLength); DESERIALIZE_VAL(DOFStart); diff --git a/Nuake/src/Scene/Lighting/Environment.h b/Nuake/src/Scene/Lighting/Environment.h index fe91ede6..7e5b6ad3 100644 --- a/Nuake/src/Scene/Lighting/Environment.h +++ b/Nuake/src/Scene/Lighting/Environment.h @@ -55,7 +55,7 @@ namespace Nuake float DOFFstop = 1.0f; bool DOFAutoFocus = false; bool DOFShowFocus = false; - bool DOFManualFocus = false; + bool DOFManualFocus = true; int DOFSamples = 3; int DOFrings = 3; float DOFStart = 1.0f;