2
0
Эх сурвалжийг харах

Merge pull request #10576 from LB-ArturZieba/DeferredFog

Changed two properties parameters in Deferred Fog Component
Chris Galvan 3 жил өмнө
parent
commit
7146aa1e4f

+ 1 - 1
Gems/AtomLyIntegration/CommonFeatures/Code/Include/AtomLyIntegration/CommonFeatures/ScreenSpace/DeferredFogComponentConfig.h

@@ -90,7 +90,7 @@ namespace AZ
 #include <Atom/Feature/ScreenSpace/DeferredFogParams.inl>
 #include <Atom/Feature/ParamMacros/EndParams.inl>
 
-            bool m_enabled = false;
+            bool m_enabled = true;
             bool m_useNoiseTextureShaderOption = false;
             bool m_enableFogLayerShaderOption = false;
         };

+ 2 - 2
Gems/AtomLyIntegration/CommonFeatures/Code/Source/ScreenSpace/EditorDeferredFogComponent.cpp

@@ -129,8 +129,8 @@ namespace AZ
                             "Octaves Blend Factor", "The blend factor between the noise octaves")
                         ->Attribute(AZ::Edit::Attributes::Min, 0.0f)
                         ->Attribute(AZ::Edit::Attributes::Max, 1.0f)
-                        ->Attribute(AZ::Edit::Attributes::SoftMin, 0.2f)
-                        ->Attribute(AZ::Edit::Attributes::SoftMax, 0.8f)
+                        ->Attribute(AZ::Edit::Attributes::SoftMin, 0.0f)
+                        ->Attribute(AZ::Edit::Attributes::SoftMax, 1.0f)
                         ->Attribute(AZ::Edit::Attributes::ChangeNotify, Edit::PropertyRefreshLevels::ValuesOnly)
                             ;
                 }