Fixed MeshFeatureProcessor meterial forward pass IBL check.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user