[Tutorial] Seamless textures in Photoshop
-
I posted this in the Kerkythea forum. Here it is for anyone who needs it. (The last few steps are for rendering )
Ok, so here's how to make a material from scratch. If you take a picture yourself, try to line it up as best you can. DO NOT use the flash -- we want the texture to be illuminated using a fake light, not a picture of a real one. Try to be at a good distance when taking the picture. You don't want a brick wall texture with only one brick, because the tilling would be noticeable, but you also don't want a texture with fifty-million bricks in it because no camera is that high quality. Lastly, do not use the zoom. Zooming in will cause distortion which will be harder to get rid of in Photoshop.
If you see a picture on the internet that has a material you REALLY want but is not lined up, that's Ok.
I took a picture from the internet of a room with a wood floor that a want.
The first thing to do is to isolate the wood. To do this, we use the crop tool marked in red. Make sure the perspective is checked, also marked in red.
Position the... umm.. cropping square? ...so that the dotted lines line up with the direction of the wood. It doesn't have to be perfect, but do your best.
Double click to confirm the cropping and you should be left with a texture. Make sure the texture is all straight and lined up. You can do this by clicking and dragging the rulers (at the side and top of the page) to various points in the texture. Just keep cropping the image until you're satisfied. Turn on the grid (view > show > grid) to make sure.
The text thing to do is apply a high pass filter. A radius of about 80 is good for textures because it keeps a lot of the the shading/colors.
The high pass filter makes the hightones and the shadows of your picture even out. It also reduces shininess that might have been left over from the picture. We do this- So that the image is easier to make seamless
- So that when it is seamless, the tilling is un-noticeable (which is the flaw with many textures)
Desaturate the image so it will look better when we color it.
Now we color it. You can choose any variation of colors that you want. I chose one yellow, two reds, and made it slightly darker to produce a hardwood color.
Check out the size of your image. Remember the width and height for the next step.
Now it's time to make the texture seamless. Offset the image, making the width and height exactly half of the width and height of your image. This makes the left side of your image appear in the center, followed by the right side, and vice-versa with the top.
Now, you can use the patch tool or the clone tool to make your image seamless. The clone cool copies a part of an image, but instead of pasting it somewhere else, you can brush it somewhere else. Hold ALT to select a source image (an image that looks almost identical to the part you're going to fix) and simply brush over the part in your image that looks noticeable.
The patch tool works as well. Simply outline the "unseamless" part in your image and click-and-drag it to a seamless part. It will automatically heal the seam.
Once seamless, fix any part that is supposed to be lining up.Offset it one more time so it's back in its original placement. Make sure everything looks natural.
Finally, you're done. Your new texture should look something like this:Let's take a look at it in action, shall we?
Sweet! Now let's make the bumpmaps.
Take your texture and apply the "photocopy" filter. I find that this is the best and fastest way of doing a bump map. If you want a sharper bump, you can apply a threshold filter (I think it's Image > adjustments > threshold) then blur it slightly (filter > blur > Gaussian blur).It should look like this:
You could also use a normal map (which I prefer).
I'm using the Nvidia normal map plugin. Set the scale to about 5 or 10. With anything over that, expect jagged, un-anti-aliased looking bumps.[img:2p5biavs]http://www.shane-fletcher.com/Gallery/Share/Jon/textut13small.png[/img:2p5biavs]
The normal should look something like this:
[img:2p5biavs]http://www.shane-fletcher.com/Gallery/Share/Jon/textut14small.jpg[/img:2p5biavs]
After you apply the bumps and texture (with some spec.) you get your finished mat:
[img:2p5biavs]http://www.shane-fletcher.com/Gallery/Share/Jon/textutmat.jpg[/img:2p5biavs]
VoilΓ !
-
Wow, thats a brilliant tutorial. Thanks very much.
-
Nice tutorial Jon, thanks
-
Genius, especially the bump map side of things but then again im a rendering n00b
-
easily the best seamless tutorial on the net, been looking for a good one for ages.
thank you so much
pav
-
excellent. thanks a lot.
-
Jon
Sweet tut, THANKS -
Yes, very nice. They demo'ed a very similar process at 3DBC (minus the bump). I'm glad to have the steps written and illustrated. Thanks!
Wyatt -
Thanks i gotta try that
-
-
I learned something today.
Thank you Jon. -
Thanks! Very nice tut.
-
Glad it helps.
-
Great job Jon! Sweet tutorial! Thanks for taking the time to share this!!
Cheers,
- CraigD
-
Thanks so much! Great tutorial!
-
Excellent!
Thanks a million.
-
Jon,
Did anybody ever tell You that You look a bit like Jerry Seinfeld ? -
I get that a lot.
I wanted to put the full avatar (the one I use in the KT forum), but the file size is too large: -
I really like that, what app. did You use for that?
-
I think it was Magic Morph (it was a long time ago, though )
Advertisement