Creating Scalable Textures Within Illustrator

Creating Scalable Textures Within Illustrator

Tutorial Details
  • Program: Adobe Illustrator CS4+
  • Difficulty: Intermediate
  • Estimated Completion Time: 2-10 mins
Download Source Files

Sometimes it’s just quicker to apply a raster texture on top of a piece of vector art to take your work to the next level. However doing this prevents the work from being entirely scalable. For some this is not so much of an issue, but for many this is a big deal. In today’s tutorial I’d like to show you a way to achieve texture in your vector art without the need of raster assistance.


Introduction

As a vector artist, I pride myself in creating work that is 100% vector, there is even some arrogance to this. If you’re able to create almost raster looking work and effects, it can be a rush to get the odd comment questioning the scalability in your work.

In today’s tutorial I’d like to show you some ways to achieve texture in your vector art without the need of raster assistance.


Clipping Masks

If you want to limit your texture to a specific area, you will need to know how to create a Clipping Mask. A Clipping Mask limits visibility of any work to a restricted area.


Step 1

Create the area you wish the texture to only be shown. In this tutorial, I’m wanting to limit it to the background, behind the portrait. Copy (Command + C) and Paste in Front (Command + F) this shape.


Step 2

I’ve created some random rectangles using the Rectangle Tool (M) for a quick example here, which overlap beyond the defined area I wish the texture to be present. With multiple objects, Group them (Command + G) and then drag and drop your duplicated shape from Step 1 on top of the group.


Step 3

Select both the group and the duplicated shape and then go to Object > Clipping Mask > Make, or use the keyboard shortcut (Command + 7). If you drill down into the group, which has been created from making it a Clipping Mask, you will notice your duplicated shape no longer has a fill or stroke color and is renamed “Clipping Path.”

The only objects visible in this Clipping Mask group will be the rectangles. The gradient in the background is only visible because you duplicated the defined area. Below is the Clipping Mask group only and no other shapes in the background.


Step 4

As this is a live effect, you can rearrange the objects within the group of rectangles; their color, scale and position. As long as the Clipping Path is unaltered, the shapes will still only be visible within this defined area.


Live Trace

Whether you’ve scanned in a piece of crumbled up paper or taken a photograph of a piece of stone/bark, these are great textures which you can apply to art. The best way and quickest way to use these textures is to Live Trace them.

In this section, I’m going to be using stock textures provided by Anne Elster’s stock account.


Step 1

So let’s imagine I want to put the below stone texture in the background of our example:

If your texture is too large, then I strongly suggest you modify it in a program such as Photoshop. The larger the image, the more detail Live Trace will pick up.

Create a New Document and then go to File > Place… the image onto your canvas. Due to it’s size, I’ve used the Free Transform Tool (E) to resize it.


Step 2

Now go to Object > Live Trace > Tracing Options.

I’m wanting to show a subtle texture in the background, so I’m wanting to limit the amount of colors and shapes. When using Live Trace for textures in the background, I like to either use the preset of Simple Trace, which is a black and white trace or Color 6.

It’s worth noting towards the right of the Tracing Options window, you can note how many paths and areas are in the trace and you can modify the settings of a preset to decrease these numbers to reduce the file size.


Step 3

In this example, I’m going to use the preset Color 6. Once selected from the drop down menu, you can modify the settings to help the trace be a smaller file with less points.

I recommend dropping the Max Colors to either “3″ or “4.” If the texture is going to have a Blending Mode and Opacity applied to it, then there is no need for a large amount of colors. Theoretically this would mean that there are less shapes created and would decrease the amount of points created.

Increasing the Blur will also help decrease the points/shapes. The Blur is applied before the tracing of the photograph. As I’m tracing a stone texture, this will help reduce the smaller insignificant dots on the texture, which you wouldn’t necessarily see. I’ve increased the number to 1.5px.

Increasing the Minimum Area will also decrease the points and shapes. For example, if you set the Minimum Area to 10px, it will not trace an area smaller than a total number of 10 pixels. I’ve increased this number to 80px – this has almost halved my Live Trace values!

Once done, click on Trace.


Step 4

Copy (Command + C) and Paste (Command + V) your Live Traced texture into the file you wish to use, and put it in the Clipping Mask group.


Step 5

Play with the Blending Mode and Opacity to find the right texture effect you’ll want. In this case, I’ve kept the gradient behind the Clipping Mask group and changed the Blending Mode to Color Burn and kept the Opacity at 100%.


Live Trace Conclusion

Mixing Blending Modes, Opacities and settings within Live Trace Options you can create some unique looking textures for elements of your vector work. When mixed with a gradient, you can further alter how the texture looks, especially in terms of contrast.

Check out further tutorials to do with Live Traces functions on Vectortuts+:


Default Illustrator Patterns

Adobe Illustrator comes with its own patterns and textures. Ranging from Animal skins to dots and lines, they are free to use for personal and commercial purposes.


Step 1

Go into the Options menu of the Swatch palette and go to Open Swatch Library > Patterns > Basic Graphics > Basic Graphics_Textures. This will open the Basic Graphics_Texture swatches.


Step 2

Copy (Command + C) and Paste in Front (Command + F) the area you wish the texture to be and then select the pattern from the swatch. You can try out the textures without committing to an image to save on large processing time, unlike when using Live Trace.

In this case, I’ve opted for using the “Capsules” pattern.


Step 3

Adjust the Blending Mode and the Opacity of the pattern filed shape. In this case I’ve opted for Color Dodge and 80%.


Step 4

To create a more unique texture, try duplicating the shape again and filling it with a different pattern. Then you will be layering two different patterns upon each other. I’ve opted to fill the second shape with the “Sticks” pattern and changed the Blending Mode to Screen and the Opacity to 50%.


Default Illustrator Patterns Conclusion

The benefit of using the default Illustrator patterns are that they are specifically designed to be a lower file size. However their drawback is that they will not look as organic and unique as say a Live Traced texture. Why not try creating your own patterns to use as textures. There are plenty tutorials on Vectortuts+ on how to create them:


Default Illustrator Brushes

You don’t need to create any fancy brushes to make a great texture. Illustrator comes with plenty of brushes that can be used to add texture. With some fine tuning, they can be used to add a watercolor texture.


Step 1

Go into your Brush palette options and select Open Brush Library > Artistic > Artistic_Chalkcharcoalpencil. This will open the following brushes in a window.


Step 2

My favorite brush for adding texture is the top brush, “Chalk.” It’s good to use as it’s got many jagged edges. A smooth brush will not add as much depth to a texture in comparison.

Using the Paintbrush Tool (B), draw strokes over the area you wish to cover at a low Opacity. In this case I’ve used 15% Opacity.


Step 3

You can change the appearance of the texture by simply changing the Stroke Weight. Below are the strokes at 4pt and 8pt to show you the difference.


Step 4

I’m going to use the Stroke Weight at 4pt. Select All (Command + A) of your strokes and then Group them (Command + G). Then drag and drop them into the Clipping Mask group.

Once in the Clipping Mask group, alter the Blending Mode to create the desired effect you wish. I’ve opted for Blending Mode Multiply and Opacity 20%.


Default Brush Conclusion

Try altering the color of the strokes, the brush and stroke weight to achieve a variety of effects. The best thing about using random strokes about your canvas is that the texture will always be unique. You can also tailor the textures more to the piece you’re creating, for instance focus the texture in one area rather than another.

Check out some of the many useful tutorials to do with brushes and texturing effects here on Vectortuts+.


Gradients to Create Textures

The final tip on creating a texture is to do with the use of gradients. If you have Adobe Illustrator CS4+ then you can use transparent gradients. Should you have an earlier version, you can use blends to create just as effective a transparent gradient. These styles of textures can be the quickest to create.


Step 1

Create a transparent radial gradient in any color you wish. I’ve opted for a Cyan transparent radial gradient.

Using the Ellipse Tool (L), begin adding circles over the area you wish the texture to be. Vary the size of the circles and overlap many of them.


Step 2

Change the Blending Mode and Opacity of all of the circles. I’ve opted for Color Dodge and 70%. Then once done, Group the circles (Command + G) and drag and drop them into the Clipping Mask group.


Step 3

Try this alternative below with the Blending Mode set to Color Burn and Opacity set to 20%!


Gradients to Create Textures Conclusion

As you can see, gradients can be used for a quick and easy alternative to making a texture. You can alter the colors or even the number of colors within a gradient to come up with a variety of effects to suit the mood of the vector art piece you’re creating.

Why not try using gradient meshes to create subtle textures and other gradients. You can check out these tutorials on creating textures and gradient effects here on Vectortuts+:

  • http://pica-ae.deviantart.com pica-ae

    very cool and helpful xD

    • http://www.chewedkandi.net Sharon Milne
      Author

      Thank you :D

      And thanks for allowing me to use your stock in the tutorial :)

  • Iaroslav Lazunov

    Good job!

    • http://www.chewedkandi.net Sharon Milne
      Author

      Thanks Iaroslav :D

  • B8C

    nice work.

  • http://tiltedsquare.com Dan

    Thanks for the tips. I’ve been experimenting with texture in my designs lately. Cool idea with the live trace to have 100% vector textures. I’ve got to try this.

    • http://www.chewedkandi.net Sharon Milne
      Author

      Please show us your vector work with live traced textures – it’s always good to see how effective people use tips from tutorials in their work :)

  • BDT466

    very nice tutorial, will definitely be giving it a try, it is a rather tricky part of vector work, with trying to get certain textures into design without resorting to raster. thanks for the tips on how to negate this problem. Cheers

    • http://www.chewedkandi.net Sharon Milne
      Author

      No problem :)

      It’s a personal pet hate of mine to see complex vector art with a raster texture on top… why bother working in vector if you do that? :(

      • http://shaneparkerphoto.com Shane Parker

        Why bother working in vector if you throw a raster background in it? Really? For starters, many times people need the background to be photo-realistic and not just a vectorized version of the background (especially if you’re doing ad placement of a companies products). Second, many times the only content that needs to scale is the actual content and not the background, so who cares if you slap a high resolution raster background in it? I do this all the time. Deadlines don’t always permit wasting time vectorizing things like backgrounds, but keeping all the content vector allows you to scale that content easily the next time you need to run the ad.

        Nice tutorial though.

      • http://www.chewedkandi.net Sharon Milne
        Author

        @Shane Parker – I’m not talking about adding a background which is a photo or a raster image… I’m talking about textures in general. They could be a small element or even a larger element.

        Even with a photo, you can get some impressive results with livetrace. But it is good hearing another point of view on this :) thank you for your input.

      • http://www.shaneparkerphoto.com Shane Parker

        I shouldn’t have said “raster background” as my statement applies to just about any object in your artboard. It just depends on whether or not you want the texture to be photorealistic and whether or not the complexity of that requirement would take far more time than the project allows. Sure, I try to use 100% vector when possible, but sometimes textures need to be photorealistic and it would take far too much time to create a vector version of it that didn’t look like ass. I have clients that HATE the vector look and they don’t like the results of livetrace, they’d rather have the textures and other elements look photorealistic. But that doesn’t mean that it’s silly to for me to create everything that I can in vector since at least those elements retain the benefits of vector.

        I just tend to look at this from the perspective of commercial ad work in a fast-paced environment, not from the perspective of doing this for fun or personal art projects (where you have complete control over your time and final output).

        At any rate, I completely agree with you that it’s ideal to keep everything vector if it creates what you’re after, but it’s fine to work in a mixed environment of vector/raster as it still saves a lot of time having even half of the art done in vector rather than none of it.

      • BDT466

        alas we have designing for cliental, you are absolutely right in the fact that 90% of the time you are attempting for highest quality for minimal time/effort, raster does come into play then. But I think when possible, it is very gratifying to complete a full vectorised piece of art. I am always trying to find ways to beat the trend towards raster, and tools such as ‘live trace’ and genuine ingenuity can find ways to get the similar results and have the feeling of pride in the fact you did it all with vector, and it is reassuring to know lamost anything can be resized and often completely reformated in a matter of clicks. But when creating items for businesses or what have you, raster does come in handy. Anyways, just my two cents. Cheers

        ps. another way to create cool textures is to use certain gradients then apply it as a pattern to create amazing backgrounds and such. I hope vectortuts+ accepts the tutorial I have made up ;D

      • http://www.chewedkandi.net Sharon Milne
        Author

        @Shane & BDT466

        I do agree with you both to a certain extent. If the client is after something which doesn’t need to be scaled then mixing with raster is fine in that respect.

        I guess I’m a bit of a vector elitist as bad as that sounds, I’m pretty much stuck in this scalable prison and love every minute of it so apologies for my stubborn vector streak!

        Great hearing the opinions from you guys on this! I appreciate it and really do enjoy hearing further from people on my articles and tutorials :)

      • http://www.shaneparkerphoto.com Shane Parker

        Haha! That’s excellent, Sharon. I too am a vector snob, but don’t tell anybody :~) Unfortunately, most of us work under deadlines and somebody elses idea of “art” :~(

      • http://www.chewedkandi.net Sharon Milne
        Author

        Hehe @ Shane!

        Well I work under some deadlines… which is why the live trace option is always good :D

  • http://bdt466.deviantart.com BDT466

    I am exactly the same as you guys, but I am also an Inkscape fanatic, and go above and beyond to rub it in to AI users, it is childish but hey, Inkscape FTW!!! :D :P. It’s been nice seeing others’ opinions on the subject, it’s nice to know a lot of ‘artists’ are highly intellectual(take that stereotype!). Cheers

    • http://www.chewedkandi.net Sharon Milne
      Author

      Vector artists have one up on raster artists… we know about both types of layers! Where as a raster artist knows little about vector – the majority I’m saying not all. So us vector artists are a tad intellectual I feel ;)