Creating Wrinkles with Textures Tutorial

01. Overview

In this tutorial we will be showing how to quickly add wrinkles without adjusting model topology of soft goods
(pillows, bedding, etc). NOTE: This technique will not work for deep or folded over wrinkles.

Before and After

 

02. Create a Shape to Control Wrinkle Location

The reference object will not be visible in the render. It will be used later to control where the wrinkles go.

a. Select the object that needs wrinkles. Go to Edge sub-object mode under Edit Poly. Select edges that follow where you want the wrinkles to go.

Spline Selection

 

b. In Modify panel, under “Edit Edges” rollout, click on “Create Shape.” (Figure 1)

c. Select the new spline object and adjust settings to match what is shown here. (Figure 2)

Figure 1

 

Figure 2

 

03. Create and Adjust Noise to Match Wrinkles

The BerconNoise node will be used as a displacement map and should match the size and shape of the wrinkles in the supplier image. NOTE: Noise and Smoke nodes can also work in place of BerconNoise. This guide uses BerconNoise.

  • Create a BerconNoise node in the Slate Material Editor.
  • Create a VRayMtl – for testing purposes only.
  • Connect the BerconNoise into the Diffuse slot. (figure 1)

BerconNoise Node

d. Assign the VRayMtl to the SKU (NOT the spline) and render to see the BerconNoise map accurately. Adjust the noise to look like wrinkles in supplier image. (See next page). NOTE: BerconNoise will NOT show accurately in the viewport. It must be rendered for accurate result.

BerconNoise in Viewport

Same BerconNoise Rendered

e. Examples of BerconNoise Settings:

(Settings will vary per scene/model. Adjust as needed)

Additional info: The “Type” drop-down parameter in the BerconNoise will affect how the noise is applied to the model.

  1. Object XYZ: Applies the noise pattern based on object axis and ignores UV’s.
  2. Explicit Map Channel 2D: Applies the noise pattern using the object’s UV’s.
  3. Each “Type” setting will also require a different Size setting.

04. VrayDistanceTex to control How Far Wrinkles Go

The VRayDistanceTex node will mask off the BerconNoise map so that it only affects the areas we want.

a. Create a VRayDistanceTex node in Slate Material Editor.

b. Connect BerconNoise node that we created earlier to VRayDistanceTex “NearTexture” slot.

c. Connect VRayDistanceTex node to the test material’s diffuse slot.

Node Graph in Material Editor

 

d. Make the “Far Color” of VRayDistanceTex node black: RGB 0,0,0.

e. In the VRayDistanceTex, add the spline object created in the first part of this guide.

Adjust Far Color and Add Reference Object

 

05. VrayDistanceTex Test Renders

The “Distance” setting controls the length of the wrinkles. The reference object controls where the wrinkles go. The reference object will not be visible in the render, but is show here for clarity.

06. VrayDistanceTex Test Renders with Final Material Applied

This is what the settings on the previous page will look like after the following two steps are completed.

07. VrayDisplacement Mod

The VRayDisplacement Mod will add the wrinkles to the geometry without the need to model them.

a. Add a VRayDisplacementMod to model. This must always be on top of the stack. Never collapse this modifier.

b. Adjust settings to match the ones shown here.

c. Adjust the “Amount” to match life-size wrinkle depth.

NOTE: DO NOT use more than one VRayDisplacementMod. Only one VRayDisplacementMod will take effect.

VrayDisplacementMod Example Settings

 

08. Setup and Render

a. Connect VRayDistanceTex to VRayDisplacementMod.

b. Apply the Sku’s final material so that the test material is no longer applied to the object.

BerconNoise Node

 

09. Completed Setup

A common setup for adding wrinkles to soft goods looks like this:

Final Setup

 

10. Matching Wrinkles to Supplier Image

Wrinkles do not have to match exact placement of wrinkles in supplier photo, but they should have similar length, depth, and pattern.

11. Troubleshooting

Problem: A hard edge appears at the end of the VRayDistanceTex distance.

Problem: Hard edge

Solution a

Solution b

Solutions:

a. Raise the Low setting and lower the High setting in the BerconNoise to match the settings shown. These settings should work for most cases, but can be adjusted as needed.

b. Lower the Amount value in the VRayDisplacementMod

12. Final Result

You can download the final result and related files from here.