Assigning Shaders to Your Pattern Pieces

You can assign different shaders to your pattern pieces when you want to add different textures, logos, artwork etc. to your pattern, but you want the pieces to appear differently. For example, you can assign the same shader to the front and back pieces, but assign a different shader to the sleeves, or you can add a logo that only appears on the inside of the back piece (not on the entire back piece), etc.

Starting from version O/18, all shaders now follow the baseline of the piece. The baseline is used to indicate the texture's direction.

ClosedClick here to view a few guidelines you should follow:

  1. The baseline should go from top to bottom and to the right in order to have a readable texture as follows:



    Notice what happens when the baseline appears from bottom to top:



  2. Vertical height of the image = baseline; therefore, the baseline goes according to the vertical height of the image.

  3. All textures should be vertically visual.

ClosedClick here to view some examples of Shader According to Baseline

Baseline Vertical

Notice the stripes appear vertical on the cloth

Baseline Horizontal

Notice the stripes appear horizontal on the cloth

To assign shaders to pattern pieces:

  1. Open your pattern.

  2. Open the Shader Manager.



    By default, all pieces are assigned a "default shader". You have a shader for pieces, buttons and stitches.

  3. First, let's see what happens when we add a texture to all the pieces in the pattern.

  4. In the Shader Manager, while standing on a Variant, click on the Piece Shader to open the Shader dialog.

  5. Click to add a new layer and then upload a texture.

    Notice the texture is applied to all the pieces.

  6. Now let's add a logo to the Front Piece only.

  7. In the 2D window, click on the Front piece then in the Shader Manager, click (Duplicate), and then click Assign so the shader is assigned to the Front piece.

  8. To add the logo, stand on the Article, not Variant then in the Shader dialog, click to add a new layer and add a logo. You can change the attributes of the logo so the logo is positioned correctly and is the correct size. For more information about the different editing options, see Editing Shaders.

  9. Now let's assign a shader to all the inner pieces. For example when you want to add a darker color on the inside of the garment only.

  10. Create a new shader and add a color.

  11. Select all the pieces and then click (Assign to Inner Piece) as follows:


    Notice the new assigned shader appears under Used for Inner Piece as follows:

  12. Let's hide the avatar so we can see how the inner pieces appear with the shader: