This tutorial is an update of my Adding a Stroke/Border post from 2013.
Judging from my blog-statistics, people
are interested in this technique, but i felt the original post was
really ugly and needed an overdo.
So here it is. If you like what you
see, please post a comment. Always interested in feedback !
The reason is quite simple: if you
stroke a selection instead of a path, your result will not look
smooth.
Here you can see the difference:
Now what if you want a stroke made from a gradient ?
Here is a different technique, that may be a better solution.
I will use a gradient layer this time.
Stroking a path is easy:
a) convert the text into a path (option in the right click menu)
if you dont have the original textlayer anymore: Alpha select your text, then go to 'Edit → To Path'
if you dont have the original textlayer anymore: Alpha select your text, then go to 'Edit → To Path'
deselect
b) a path will appear in your paths tab
c) with the path selected, you stroke
the path on a new transparent layer
Now what if you want a stroke made from a gradient ?
a) Stroke the path as above.
b) Lock the alpha-channel of the stroke layer.
c) Drag your gradient over it.
b) Lock the alpha-channel of the stroke layer.
c) Drag your gradient over it.
a) open the texture as a new layer and
scale it to your needs
(im using a sandtexture from
texturemate.com here)
b) alpha select your text
e) with the layermask active, fill the
selection with black, then deselect
If you look very closely, you will see
the textlayer bleeding through at the edges.
We can fix that by alpha selecting the
text, shrinking by 2px and then apply a layermask from selection to
the textlayer.
Plus the jaggy edges inside...
Here is a different technique, that may be a better solution.
I will use a gradient layer this time.
a) alpha select your text and save it
to a channel
b) activate the quickmask (Shift + Q) and stroke
the path with white (!), but at double the size you want your border to be
!
e) fill the selection with a
gradient/colour on a new transparent layer
deselect
d) alpha select the base text, shrink by 2 and apply a layermask from selection to prevent the bleed
d) alpha select the base text, shrink by 2 and apply a layermask from selection to prevent the bleed
No comments:
Post a Comment