Cloth Shader

Published: Oct 30, 2020 by Bailey Martin

Shaders Lighting

This was experiment in cloth shading. This uses a few different methods to go from a standard surface / cloth brdf to something more reminiscent of an actual fibrous surface.

A few of the main effects this shader utilizes include:

  • Single layer parallax shadowing (for the fuzz layer)

  • High-frequency normals calculated from height maps

  • Curvature edge masking, for altering opacity at grazing angles

  • Specular occlusion for the fibers to help simulate the self shadowing and fuzzyness of the surface

  • Low frequency normals (for larger scale surface deformation)

  • Statically compiled variants for using Colour Tint Maps and Dual-tone tinting

Image

Image (Example of the data maps used)

Renders:

Image

Image

Image

Shaders Lighting

Share

Store

Retro Filters Pack

Pack containing filters for VHS / Glitch, CRT Monitor, Vintage, Pixelate, Retro Console, Arcade Machine, and more..

Iridescent Materials Pack

Pearlescent, Bubbles, Iridescent Paint

Sketch-It

Hand Drawn Post Process Pack