diff --git a/scripts/developer/utilities/render/materialInspector.qml b/scripts/developer/utilities/render/materialInspector.qml index 4d9370dc72..31d5651dd9 100644 --- a/scripts/developer/utilities/render/materialInspector.qml +++ b/scripts/developer/utilities/render/materialInspector.qml @@ -98,14 +98,28 @@ Rectangle { property: "opacity" readOnly: isReadOnly } - Prop.PropEnum { + Prop.PropString { + visible: hasMaterial && ("opacityMap" in theMaterialAttributes) + label: "opacityMap" + object: theMaterialAttributes + property: "opacityMap" + readOnly: isReadOnly + } + Prop.PropString { + visible: hasMaterial && ("opacityMapMode" in theMaterialAttributes) + label: "opacityMapMode" + object: theMaterialAttributes + property: "opacityMapMode" + readOnly: isReadOnly + } + /*Prop.PropEnum { visible: hasMaterial && ("opacityMapMode" in theMaterialAttributes) label: "opacityMapMode" object: theMaterialAttributes property: "opacityMapMode" readOnly: isReadOnly enums: ["None", "Mask", "Blend"] - } + } */ Prop.PropScalar { visible: hasMaterial && ("opacityCutoff" in theMaterialAttributes) label: "opacity Cutoff"