Overview
Used with uReplace Material, the uShader gives an easy and intuitive way to iterate material changes on a USD source.
Where to find this node
- Effects Library:
Tools > USD > Material > uShader - Quick add: right-click in the Node Editor →
Add Tool > USD > Material > uShader
Inputs
- Variable inputs: you can connect, for example, a texture from a uTexture. When connecting, a drop list shows all possible inputs. A texture connected to an input disables the matching slider and exposes Channel, Scale and Bias controls (channel used, strength and base value).
Setup
uTexture → uShader → uReplace Material
In the manual's example, the uShader takes the texture from a uTexture, modifies it, then passes it to the uReplace Material, which selects the materials of the USD scene to apply it to.
Controls
- Shader Model
- choice of toolset, USD or MaterialX.
Shader Model: USD
- Diffuse Mode
- base surface characteristics, without reflections or specular highlights. The Color control modifies the diffuse color.
- Emissive
- adds a global lighting effect, a layer of color over the existing texture, to simulate light emission.
- Workflow Mode
- Metallic (shows the Metallic slider, which gives objects a reflective, metal-like look) or Specular (shows the Specular Color controls: the color of light reflected from a shiny surface).
- Roughness
- amount of light reflection and scattering on the surface, for a smoother or more textured look.
- Clearcoat
- adds a glossy layer on top of the surface, like a protective coating (car paint, polished metal).
- Clearcoat Roughness
- imperfection or smoothness of that glossy layer.
- Opacity
- reduces the material and object opacity, affecting the color and alpha values.
Shader Model: MaterialX
MaterialX is an open standard maintained by the Academy Software Foundation for creating platform-independent material and look development content. Its specifications are under constant development: see materialx.org.
Use cases
- Modify a texture loaded by a uTexture, then apply it to specific materials of a USD scene with a uReplace Material.
