bugfix: update attenuation when light intensity changed for mode Automatic (#6499)
REF: https://github.com/o3de/o3de/issues/6128 Signed-off-by: Michael Pollind <mpollind@gmail.com>
This commit is contained in:
+5
@@ -261,6 +261,11 @@ namespace AZ::Render
|
||||
m_lightShapeDelegate->SetPhotometricUnit(m_configuration.m_intensityMode);
|
||||
m_lightShapeDelegate->SetIntensity(m_configuration.m_intensity);
|
||||
}
|
||||
|
||||
if (m_configuration.m_attenuationRadiusMode == LightAttenuationRadiusMode::Automatic)
|
||||
{
|
||||
AttenuationRadiusChanged();
|
||||
}
|
||||
}
|
||||
|
||||
void AreaLightComponentController::ChromaChanged()
|
||||
|
||||
Reference in New Issue
Block a user