Preview Surface
A MaterialX version of USD Preview Surface.
Parameter Types
Parameter description
Diffuse ColorThe base display color of the surface. The color of an object under pure white light.
RoughnessThe level of roughness of the surface. This value ranges between
0and1.0, with0outputting a perfectly specular surface and1.0indicating maximum roughness. The default is0.5.MetallicThe indicator if a surface is metallic or not. Set this value to
1for metallic surfaces and0for nonmetallic surfaces. The default is0.0.OpacityThe level of opaqueness of the surface. If the value of this parameter is
1.0, the surface is fully opaque. If the value is less than1.0, the surface appears translucent. If the value is0, the surface is completely transparent. The default is1.0.NormalThe normal vector in tangent space; the default is
(0,0,1).ClearcoatA second clear reflective layer on the surface. This property produces a glossy finish. The default is
0.0.Clearcoat RoughnessThe level of roughness of the surfaces clearcoat layer; the default is
0.01.Emissive ColorThe self-illumination color of the surface. The color the surface displays as if it is self-lit.
Index of RefractionThe index of refraction the node uses if the surface is translucent or specular. The
Index of Refractiondefines how light bends or refracts when it passes through a material. The default is1.5.Ambient OcclusionThe degree of ambient lighting that the surface receives. This value simulates soft shadows and subtle shading. A value of
0.0indicates a fully occluded area, while a value of1.0indicates an unoccluded area. The default is1.0.Opacity ThresholdThe threshold for whether the node renders a portion of the surface based on its opacity level. A value of
0.0means that no additional masking occurs. If the value is greater than0.0, the node renders only areas of the surface with anOpacityvalue greater than the value of this parameter. The default is0.0.
Discussion
The Preview Surface node produces a custom surface based on its input parameters. Connect the output of the Preview Surface node to the Custom Surface output of your material. Below is an example material that uses only the Preview Surface node to produce a gold-like texture and apply it to a sphere: