Fixed MeshFeatureProcessor meterial forward pass IBL check.

This commit is contained in:
dmcdiar
2021-04-21 03:04:42 -07:00
parent 52e6a146eb
commit e908e19246
@@ -978,7 +978,7 @@ namespace AZ
if (index.IsValid())
{
RPI::ShaderOptionValue value = shaderItem.GetShaderOptionGroup().GetValue(Name{ "o_materialUseForwardPassIBLSpecular" });
if (value.GetIndex() != 0)
if (value.GetIndex() == 1)
{
return true;
}