|
@@ -59,8 +59,8 @@ namespace AZ
|
|
|
|
|
|
// store the current exposure values
|
|
// store the current exposure values
|
|
Data::Instance<RPI::ShaderResourceGroup> sceneSrg = m_scene->GetShaderResourceGroup();
|
|
Data::Instance<RPI::ShaderResourceGroup> sceneSrg = m_scene->GetShaderResourceGroup();
|
|
- m_previousGlobalIblExposure = sceneSrg->GetConstant<float>(m_globalIblExposureConstantIndex.GetConstantIndex());
|
|
|
|
- m_previousSkyBoxExposure = sceneSrg->GetConstant<float>(m_skyBoxExposureConstantIndex.GetConstantIndex());
|
|
|
|
|
|
+ m_previousGlobalIblExposure = sceneSrg->GetConstant<float>(m_globalIblExposureConstantIndex);
|
|
|
|
+ m_previousSkyBoxExposure = sceneSrg->GetConstant<float>(m_skyBoxExposureConstantIndex);
|
|
|
|
|
|
// add the pipeline to the scene
|
|
// add the pipeline to the scene
|
|
m_scene->AddRenderPipeline(environmentCubeMapPipeline);
|
|
m_scene->AddRenderPipeline(environmentCubeMapPipeline);
|