In today’s tutorial we will learn how to control transparency of gradient meshes with the help of blending modes, and by adjusting color transition between mesh points and changing its opacity. Moreover after reading this tutorial, you’ll be able to create Illustrator brushes from gradient meshes of any difficulty with the help of free Mesh Tormentor plug-in. Let’s get started!
- Program: Adobe Illustrator CS5 – CC
- Topics Covered: Gradient Meshes
- Estimated Completion Time: 45 minutes
As always, this is the final image that we’ll be creating:
Take the Rectangle Tool (M) and create a rectangle with linear gradient fill. I used two colors for this gradient: R= 233; G = 230; B =228 and R= 158; G = 143; B =138.
This created rectangle will be used as our background, so you can use completely different fill. But the background should exist as an object.
Let’s begin creating our pearl. Take the Ellipse Tool (L) and draw a circle with light-brown fill R= 235; G = 230; B =227.
And now transform our circle into a gradient mesh. To do so, go to the Object > Create Gradient Mesh… and in the dialog box set a number of rows and columns which is two.
Take the Mesh Tool (U) and create a new mesh point by clicking on the point A.
Now we need to recolor a couple of mesh points. Use the Direct Selection Tool (A) to select them. The points’ location and their new colors are indicated on the figure below.
Create an ellipse with the color of fill R= 247; G = 239; B =235 with the help of the Ellipse Tool (L) and rotate it to some angle with the Selection Tool (V), as it is indicated on the figure below.
Transform the ellipse into a gradient mesh (Object > Create Gradient Mesh).
Select and color the center point of the gradient mesh into brown R= 189; G = 166; B =154.
Now select the entire gradient mesh and set the Multiply blending mode in the Transparency panel.
This action allowed us to make the light edges of the gradient mesh semi-transparent. I want to remind you that white became transparent after the Multiply blending mode application.
Let’s create some highlights on the surface of our pearl. Create one more gradient mesh in black (R= 0; G = 0; B =0) as an ellipse as we did in our previous steps. Color the center point of the gradient mesh white.
Select the entire gradient mesh, then in the Transparency panel, set the blending mode to Screen.
As you can see, the edges of the object became transparent, since black becomes transparent after application of the Screen blending mode.
I don’t like the way transparency is spread from edges to the center of the object. So let’s see how we can control the transparency in gradient meshes. The distribution of color between adjacent mesh points depends on the length ratio of handles on their connecting mesh line, i.e. if I want to distribute some transparency to the center I need to reduce the handles of white point and increase the handles of black points on the outer edges of the object.
Undoubtedly, these actions changed the picture, but this is still not quite the effect I’m trying to reach.
Select all the points which are located on the edges of the gradient mesh (the central point should remain unselected) and set 30% Opacity in the Transparency panel. Starting with Adobe Illustrator CS5, we can control the mesh point opacity.
Now, I finally have the desired result.
Now, let’s use the principles described above to create a drop shadow. The points that are located on the borders of gradient mesh are white and have 0% opacity. The central point is colored in grey R= 140; G = 140; B =140. The Multiply blending mode is applied to entire gradient mesh.
The pearl is ready, let’s group all its objects for our convenience (Cmd / Ctrl + G). Now we can create brushes from this group despite the fact that Illustrator’s brushes cannot contain gradient meshes.
The opportunity became available only due to free Mesh Tormentor plug-in, which you can download here. After installation of the plug-in, open its panel (Window > Mesh Tormentor)
Leave the brush’s parameters unchanged in the opened dialog box of Scatter Brush Options. We’ll work with parameters after our brush is created and applied.
Take the Paint Brush Tool (B) or any other drawing tool and create an arbitrary path.
And now let’s specify the brush settings. To do so, click twice on the icon for this brush in the Brushes panel, which opens the dialog box with parameters. Check the Preview option to observe the current changes.
Everything is ready to transform the brush stroke back into gradient meshes. Keep the path selected, go to the Object > Expand Appearance.
If in your work you use Graphic Tablet, then you can set the brush size to be determined by pressure. You also need to set a range for the size of your brush.
The brush with such parameters allows to create an illusion of perspective, where objects that are closer to the viewer look bigger than the ones further away.
After transformation of the brush stroke into a group of gradient meshes (Object> Expand Appearance, then click on Convert BMG button), we need to change the sequence of the pearls on the left part of the necklace so they’re perspective appears from front to back.
The sequence of the pearls can be altered with the help of the Send Backward command (Cmd/Ctrl + [ ) and Send to Back command (Shift + Cmd/Ctrl + [ ).
In additional to the drop shadow we added previously, we also need to add a shadow from the neighboring pearls to enhance the realism of the perspective. Create a circle with gradient mesh fill from brown to white. Apply the Multiply blending mode to it and place it on one of the pearls.
Now we need to hide parts of shadow which extends beyond the neighboring pearl. Select the gradient mesh which forms the shape of the neighboring pearl, then go to the Object > Path > Offset Path and set the offset value to 0 px.
Author: Iaroslav Lazunov
My name is Iaroslav Lazunov, I am a graphic designer from Ukraine. I am glad that I finally found the job in my life that I can share my knowledge and experiments with you in my tutorials. Follow me on Twitter or visit my blog Vectorboom.com.