You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

The curvature shader is an easy way to add detail and realism to your shaders. In this short tutorial, we will use the curvature shader to create a wear and tear shading effect. It will be used to represent where the edges of a hard surface are scraped on the model of a mech. Notice in the image above how the edges of the paint appear worn off, exposing the metal underneath.

You can use either a layer shader or a mix_shader in this tutorial.

The shader used in this scene can be downloaded here.

As well as the Layered Shader you can also use the mix_shader.

Layer Standard Shaders

Layered Shader is used to layer two different standard_surface shaders. We will use one standard_surface shader for the top green paint layer (green) and another standard_surface shader to represent the exposed metallic surface underneath.

  • Create a Layered Shader and assign it to the object.
  • Create a standard_surface shader and rename it Green Paint
  • Create another standard_surface shader and rename it Metal
  • Connect the standard_surface shaders to the Layered shader as in the image below.

You could also use the mix or layer shader instead of Maya's Layered Shader.

Curvature Shader

  • Connect a noise shader to the radius of a curvature shader (bias and multiply will work too). Experiment with different noise settings to get the look that you want. Don't forget that you can connect a color_correct shader to the noise shader to further refine the appearance of the 'worn' look.
  • Connect the curvature shader to the transparency attribute of the layered shader. This will control the blending between the two standard_surface shaders.

  • In the example images below, the bias parameter of the curvature shader has been increased and exaggerated to better demonstrate the effect.
  •  Increasing the number of curvature.samples reduces noise and gives a better quality result.

Final shader network

  • No labels
Privacy settings / Do not sell my personal information / Privacy/Cookies