Paint Continuous, Repeating Textures with the Roller Brush

The Roller Brush tool adds a new painting mode that paints a tileable image following the direction of your brush stroke. For example, you can create seams or decals on a character’s clothing without having to manually line up each tileable texture, one by one, to mimic a brush stroke.

To paint with the Roller Brush:

In the left-hand toolbar, left-click and hold (the Paint tool). In the drop-down menu that appears, click Roller.

The Roller Brush tool is now available to use.

Adding Images to the Roller Brush

The Roller Brush tool can be used in conjunction with tileable images, allowing you to create seamless details with the stroke of a brush.

To apply an image to the Roller Brush:

  1. Activate the Roller Brush tool.
  2. In the Tool Properties window, expand the Brush Tip menu
  3. Click the button next to Path field.
  4. An explorer window opens.

  5. In the explorer window, select the image you want to use to drive the Roller Brush and click Open.
  6. Depending on how you are planning to use the image assigned to the Roller Brush, you may need to adjust the Source parameter.
    • If using an RGB image, you are able to choose the image's Red,Green or Blue channels, or RGBA to use all three channels plus an Alpha channel.
    • If your image has an Alpha channel you would like to use, choose Alpha.
    • If using a black and white image that you would like to use as an Alpha, choose Luminance.
    • When Invert Alpha is enabled, any alpha in the brush Source is inverted.
  7. Once a brush tip is loaded and the source is set, the brush is visible in the top navigation bar, next to the roller brush icon.

Once an image is assigned to the Roller Brush tool, the Roller Brush can be used in the same way as Mari's default brush. Strokes made by the Roller brush can be manipulated on the paint buffer in the same ways a regular brush stroke would be, and can be baked on to your asset or cleared from the pain buffer using the same default commands. For more information on the Paint buffer, see Paint Buffer.

Roller Brush tool being used with Mirror painting to create even stitches on both sides of the asset.

Curve drawn with the Roller Brush tool being manipulated before baking on the paint buffer with the Warp tool.

Note:  When using a brush tip driven by an image, the brush tip will inherit whatever your current foreground color is. To ensure that alpha images and RGBA images are displayed properly, please set your foreground color to white.

Roller Brush Settings

There are a number of settings within the Roller Brush Tool Properties that allow you to customize the behavior of the Roller Brush tool. Mari's Brush Engine dynamics can also be utilized with the Roller Brush, allowing you to create stylized strokes while you paint. For more information on Mari's dynamic brush engine, see Changing Brush Color Dynamically.

The following parameters are specific to the Roller Brush:

Repeat Direction

Repeat Direction allows you to tell Mari to tile your image brush tip Horizontal or Vertical, as well as Vertical Mirrored and Horizontal Mirrored.

Vertical tiles your image vertically along your brush stroke.

Horizontal tiles your image horizontally along your brush stroke.

Vertical Mirrored tiles your image vertically along your brush stroke, while also mirroring every other tip vertically.

Horizontal Mirrored tiles your image horizontally along your brush stroke while also mirroring every other tip horizontally.

The Segments amount allows you to determine how many times your image is subdivded while painting a curve. This is especially useful when painting tight curves, as it prevents distortion while the image is tiling. The higher the Segment level is, the smoother the image will tile.

Tight curves drawn with a low Segmentation.

Tight curves drawn with a high Segmentation.