Updating StandardPbr.materialtype to follow the new file format. In this commit all I did was combine the "groups" metadata together with the property lists. The groups will now show up in the wrong order in the Material Editor, because that was based on the "groups" list that no longer exists. I wanted to keep the giant list of properties in the same order for an easier diff review. In the next commit, I'll move the property groups around to be in the same order as before.
"description": "Properties for configuring the surface reflected color for dielectrics or reflectance values for metals."
},
{
"name": "metallic",
"displayName": "Metallic",
"description": "Properties for configuring whether the surface is metallic or not."
},
{
"name": "roughness",
"displayName": "Roughness",
"description": "Properties for configuring how rough the surface appears."
},
{
"name": "specularF0",
"displayName": "Specular Reflectance f0",
"description": "The constant f0 represents the specular reflectance at normal incidence (Fresnel 0 Angle). Used to adjust reflectance of non-metal surfaces."
},
{
"name": "normal",
"displayName": "Normal",
"description": "Properties related to configuring surface normal."
},
{
"name": "occlusion",
"displayName": "Occlusion",
"description": "Properties for baked textures that represent geometric occlusion of light."
},
{
"name": "emissive",
"displayName": "Emissive",
"description": "Properties to add light emission, independent of other lights in the scene."
},
{
"name": "clearCoat",
"displayName": "Clear Coat",
"description": "Properties for configuring gloss clear coat"
},
{
"name": "parallax",
"displayName": "Displacement",
"description": "Properties for parallax effect produced by a height map."
},
{
"name": "opacity",
"displayName": "Opacity",
"description": "Properties for configuring the materials transparency."
},
{
"name": "uv",
"displayName": "UVs",
"description": "Properties for configuring UV transforms."
},
{
// Note: this property group is used in the DiffuseGlobalIllumination pass, it is not read by the StandardPBR shader
"name": "irradiance",
"displayName": "Irradiance",
"description": "Properties for configuring the irradiance used in global illumination."
},
{
{
"name": "general",
"name": "general",
"displayName": "General Settings",
"displayName": "General Settings",
"description": "General settings."
"description": "General settings.",
}
"properties": [
],
"properties": {
"general": [
{
{
"name": "doubleSided",
"name": "doubleSided",
"displayName": "Double-sided",
"displayName": "Double-sided",
@ -163,8 +99,13 @@
"name": "o_materialUseForwardPassIBLSpecular"
"name": "o_materialUseForwardPassIBLSpecular"
}
}
}
}
],
]
"baseColor": [
},
{
"name": "baseColor",
"displayName": "Base Color",
"description": "Properties for configuring the surface reflected color for dielectrics or reflectance values for metals.",
"properties": [
{
{
"name": "color",
"name": "color",
"displayName": "Color",
"displayName": "Color",
@ -230,8 +171,13 @@
"name": "o_baseColorTextureBlendMode"
"name": "o_baseColorTextureBlendMode"
}
}
}
}
],
]
"metallic": [
},
{
"name": "metallic",
"displayName": "Metallic",
"description": "Properties for configuring whether the surface is metallic or not.",
"properties": [
{
{
"name": "factor",
"name": "factor",
"displayName": "Factor",
"displayName": "Factor",
@ -274,8 +220,13 @@
"name": "m_metallicMapUvIndex"
"name": "m_metallicMapUvIndex"
}
}
}
}
],
]
"roughness": [
},
{
"name": "roughness",
"displayName": "Roughness",
"description": "Properties for configuring how rough the surface appears.",
"properties": [
{
{
"name": "textureMap",
"name": "textureMap",
"displayName": "Texture",
"displayName": "Texture",
@ -347,8 +298,13 @@
"name": "m_roughnessFactor"
"name": "m_roughnessFactor"
}
}
}
}
],
]
"specularF0": [
},
{
"name": "specularF0",
"displayName": "Specular Reflectance f0",
"description": "The constant f0 represents the specular reflectance at normal incidence (Fresnel 0 Angle). Used to adjust reflectance of non-metal surfaces.",