Skip to content

Commit e4591bc

Browse files
Fix message for metal and ao (#859)
1 parent 509f623 commit e4591bc

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

com.unity.render-pipelines.high-definition/Editor/Material/UIBlocks/DecalSurfaceInputsUIBlock.cs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -323,11 +323,12 @@ void DrawDecalGUI()
323323
materialEditor.ShaderProperty(emissiveExposureWeight, Styles.emissiveExposureWeightText);
324324
}
325325

326-
EditorGUILayout.HelpBox(
327-
"Enable 'Metal and AO properties' in your HDRP Asset if you want to control the Metal and AO properties of decals.\nThere is a performance cost of enabling this option.",
328-
MessageType.Info);
326+
if (!perChannelMask)
327+
{
328+
EditorGUILayout.HelpBox("Enable 'Metal and AO properties' in your HDRP Asset if you want to control the Metal and AO properties of decals.\nThere is a performance cost of enabling this option.",
329+
MessageType.Info);
330+
}
329331
}
330-
331332
}
332333
}
333334
}

0 commit comments

Comments
 (0)