Enable fog in physical sky component to blend with deferred fog (#1320)

This commit is contained in:
hershey5045
2021-06-18 13:39:11 -07:00
committed by GitHub
parent 1ad6264d0d
commit c127a044d4
17 changed files with 335 additions and 13 deletions
@@ -69,7 +69,7 @@ namespace AZ
m_featureProcessorInterface = RPI::Scene::GetFeatureProcessorForEntity<SkyBoxFeatureProcessorInterface>(entityId);
// only activate if there is no other skybox activate
if (!m_featureProcessorInterface->IsEnable())
if (!m_featureProcessorInterface->IsEnabled())
{
m_featureProcessorInterface->SetSkyboxMode(SkyBoxMode::Cubemap);
m_featureProcessorInterface->Enable(true);