Skip to content
VIDEOMONTAZHERDAVINCI RESOLVE · VIDEO · AI
MaterialFUSION

uShader

USD and MaterialX properties for material binding

Creates a USD or MaterialX material from controls and connected texture properties. Bind it to geometry through uReplaceMaterial; assess Roughness, Clearcoat, Emissive and transparency separately.

At a glance
Node illustrationuShader
ResultUSD

uShader

Overview

What uShader does

Shader Model selects two different toolsets: USD uses UsdPreviewSurface; MaterialX exposes Base, Base Color, Diffuse Roughness and Metalness plus Coat, Emission, Opacity, Sheen, Specular, Subsurface, Thin Film and Transmission groups. Resolve 21 documents those groups on p. 2993. Select the model before editing its properties: equal numbers do not guarantee equivalent materials. The new MaterialX practice starts with Base=1, Diffuse Roughness=0.2 and Metalness=0, and separately checks uReplaceMaterial binding under known lighting.

uShader inputs are variable. Connecting a texture branch presents a property list; color uses Diffuse and a processed normal map uses Normal. A connected property hides or disables its manual control and exposes Channel, Scale and Bias.

Channel selects the source component, Scale changes its multiplier and Bias its base addition. These process the chosen property data rather than the scene common Transform. Normals first need a correct Linear source and uNormalMap; arbitrary color bias changes directions.

uShader.SceneOutput feeds uReplaceMaterial green MaterialInput. Geometry goes to the binding separate SceneInput. Merging a material stage and mesh through uMerge is insufficient: the material must be bound to the intended geometry prim.

Roughness changes the primary specular response. Clearcoat adds a second response and Clearcoat Roughness specifically adjusts its breadth. A rough base can retain a narrow coating highlight; changing both roughness controls together obscures this distinction.

Emissive is the surface own color contribution. Raising it does not guarantee illumination of a neighboring object or a halo outside the silhouette. First compare the material under known lighting, then separately inspect what happens when the sole source is disabled.

Opacity Mode and Threshold have different criteria. At zero Opacity, Transparent permits lighting response and Presence excludes it. Threshold>0 performs binary cutoff; Threshold=0 leaves intermediate values without that threshold. Inspect exact RGB/alpha in the selected renderer.

When to use it

  • Build a dielectric or metal in the Inspector.

  • Separate a rough base from a clearcoat highlight.

  • Create an emissive screen without assuming automatic GI.

  • Test transparency and binary cutoff at known Opacity.

  • Connect texture data to a specific material property.