Home Technical Talk

Tileable brick, how?

Spur
polycounter lvl 6
Offline / Send Message
Spur polycounter lvl 6
Anyone have any tips or tutorials on how to create a tileable texture for brick in Photoshop? Stone and concrete not a problem, just offset and work the seams out, but anything with a pattern in it throws me for a loop. I know I have to be making it harder than it is.

Replies

  • AlecMoody
    Offline / Send Message
    AlecMoody ngon master
    you just need to try and make sure the grout lines connect with eachother. The biggest part of getting it to work is making sure you crop the texture correctly and remove all perspective/lens distortion. Then you can do things like offset and carefully clone stamp all the grout lines together. Also, manually placing bricks along seams works well.
  • Spur
    Offline / Send Message
    Spur polycounter lvl 6
    Thanks for the suggestions. I think I have one working pretty good now. I've had to move a few single bricks around to eliminate some of the pattern but it seems like with tiled brick you are always going to have somewhat of a pattern.
  • Mr_Drayton
    Offline / Send Message
    Mr_Drayton polycounter lvl 14
    This kind of patterns usually pop out when you have some uneven and noticeable areas in the texture, like chopped bricks, holes, heavier shadows, imprecise placing of some details, etc.
    It may look ugly, but I think it's better to have a surface that is almost identical in every part, so the final result will be more clean.
    Then, if you want to add some kind of variations, you could do them by simply creating some flat poligons on the floor, and texturing them with whatever you want.

    Hope I explained it well... I'm not English! ^^
  • teaandcigarettes
    Offline / Send Message
    teaandcigarettes polycounter lvl 12
    I believe that the best way to do this sort of textures is to sculpt/model some highpoly; it usually gives you much better results and actually takes less time than fiddling around with the clone tool.

    Check out this thread, and specifically post made by Glynn http://www.polycount.com/forum/showthread.php?p=1101338#post1101338

    If you use UDK, you might want to check out the tutorial made by Chris Albeluhn; it's a nice way to break up the tilling

    http://www.chrisalbeluhn.com/UT3_Adding_Brick_Variation.html
  • praetus
    Offline / Send Message
    praetus interpolator
    One of the things I can recommend in photoshop is the use of guides. Make sure your brick is level before trying to work on it. Also duplicate layers with alpha masks can be easier than the clone tool and they're not as destructive.
  • TheLastDesperado
    A godsend in Photoshop for helping making textures tilable is the Offset filter, under Filter>Other. This will let you see the seems in your textures a lot easier, then a lot of the time it can simply be a case of clone brushing. It's a bit harder with bricks mind, as they are in a set pattern, but the Offset will still help you see where you need to change things.
  • Spur
    Offline / Send Message
    Spur polycounter lvl 6
    Been on vacation for a few days now I'm back and feeling all refreshed! Anyway here's a tiled brick texture I came up with for a project I'm working on. Its not spectacular but not too terribly bad either. Mostly just a pattern in the shade of the brick. It looks like when they constructed the building, the brick mason didn't mix bricks from different pallets, so you see a slight variation in color. I guess that's ok as its something that happens in real life for sure. I think a dirt or grunge map would probably help hide the pattern. So anyway I just did this the old fashioned way by copying one side and flipping it over to the other. The first few tries had some really wild patterns in them but I finally eliminated most of them by moving a few bricks around.

    Mr_Drayton - I see what you are saying. Makes perfect sense. I went through and tried to clone out anything that caught my eye.

    teaandcigarettes - I actually thought about taking that route but didn't in the end. I would really like to give it a try sometime. Thanks for the link to the tutorial by Chris Albeluhn. That's a really nice tutorial.

    praetus - Guides definitely helped a ton along with Skew in photoshop. Even the best photo I found to work off of, was not quite level.

    TheLastDesperado - I've used the offset filter a few times for concrete, wood, asphalt, anything without a pattern. Its definitely a pain to use with patterns though but you made a very nice point about using it to find bad seams.

    Anyway here's the tiled brick I came up with. Its tiled 9 times across the geo to get an idea of how well it works.

    TiledBrick.jpg
  • Eric Chadwick
    The problem with mirroring is you get a recognizable "butterfly" effect down the middle of the seam. If you blur your eyes a little, you can see dark lines running down the tiled texture. Other than that it looks good.
  • ZacD
    Offline / Send Message
    ZacD ngon master
    "butterfly" effect might be a bad term cause its a name of a completely different effect, but I tend to view it was more of a diamond or symmetry effect.
  • Eric Chadwick
    Oh you mean time travel. :poly105:

    OK, Rorschach then
  • ZacD
    Offline / Send Message
    ZacD ngon master
    Not time travel, even though that movie featured time traveling, it was more about the effects of changing small but key events in his life.

    "The butterfly effect is a metaphor that encapsulates the concept of sensitive dependence on initial conditions in chaos theory; namely that small differences in the initial condition of a dynamical system may produce large variations in the long term behavior of the system."
  • divi
    Offline / Send Message
    divi polycounter lvl 12
    attention whore :D
  • SHEPEIRO
    Offline / Send Message
    SHEPEIRO polycounter lvl 17
    fuck it zac- its an art forum we all knew what it was referring to.
  • cman2k
    Offline / Send Message
    cman2k polycounter lvl 17
    Here's a neat trick.

    The problem you are seeing here is that there is a lot of repetitive variation and contrast in the VALUE of your bricks. This technique will help you remove that value variation, but retain the hue variation.



    In Photoshop, go to Image -> Mode -> Lab Color

    In your channels, notice that you now have a LIGHTNESS channel. select that channel.

    Go to Filters -> Other -> High Pass and run it at something in the 2-5 radius range.

    Notice that much of your Value variation is now gone!


    This is useful for removing contrast, but some of that contrast is good to have and you may not want to remove it all. Experiment with keeping a copy of image that hasn't been equalized in this way, and masking contrast back in only where you want it.

    This is useful for any source image that has high value contrast (for instance, if part of it is lit very differently than another part). If you've ever offset an image only to see that each edge is vastly different in value, then this is the technique to use at that point in time. You could make a value-equalized version and paint it in only over the seams you are trying to remove, for instance.
  • Eric Chadwick
    Cool tip! You should add this to the wiki.

    OK, I started a page. It needs pics!
  • divi
    Offline / Send Message
    divi polycounter lvl 12
    oh wow. now i'll never have to mess with gradients again to get rid of value differences. thanks for sharing that one.

    labtrick.gif
  • r_fletch_r
    Offline / Send Message
    r_fletch_r polycounter lvl 9
    epic tip cman2k !!

    Have you guys tried the patch tool/healing brush (not spot healing) for fixing seams? I've got some good results on textures with less specific patterns. I find the Clone tool is a bit redundant for me since I got the hang of the healing brush.

    Healing actually looks at the values surrounding your patch and tries to blend the colour values of the patch to match what surrounds it. For getting rid of shadows when projecting skin textures its absolutely awesome
  • Spur
    Offline / Send Message
    Spur polycounter lvl 6
    Wow, awesome tip! It definitely helped take some of the pattern out.

    Before
    TiledBrick.jpg

    After
    TiledBrick_w_Highpass.jpg
  • Eric Chadwick
    I think you've gone too far, you've lost a lot of what made the texture interesting.

    I would have just brightened slightly that one vertical line of bricks.
  • Racer445
    Offline / Send Message
    Racer445 polycounter lvl 12
    Now he at least has a very solid base for adding grime and such though. This is an amazing tip!
  • cman2k
    Offline / Send Message
    cman2k polycounter lvl 17
    Glad you guys liked the tip. I learned this from some photography dudes a while back and brought it to my texturing techniques.

    @Eric; Glad to see it on the wiki. I've been busy prepping for a vacation and haven't had time to dive into the wiki stuff yet. I cleaned up the wiki article and added some example images.

    @Spur; Yeah, your tiling is less noticeable but as I warned, it's easy to go too far. Taking both those versions and mixing them carefully will help you retain some of the contrast you need so it has some variation, but tone down the tiling.
  • Eric Chadwick
    Nice job on the page!
  • McGreed
    Offline / Send Message
    McGreed polycounter lvl 15
    That was a great tip, cman2k, and you are right that the values depends on the texture, did a test on a metal texture with streaks of rust and light/dark from left/right and using your values its pretty much just ends up with a boring plain metal without all the interesting details, but adjusting it to 20-30 value I lost the gradient but preserved the details. Really great, been using the gradient method and often not satisfied because it often ruins it.
    Now to remember the process. ;)
  • oglu
    Offline / Send Message
    oglu polycount lvl 666
    mudbox is sometimes helpful during texture creation...
    [ame]http://www.youtube.com/watch?v=T4sfcJuKrCY[/ame]
  • PhilipK
    Offline / Send Message
    PhilipK polycounter lvl 10
    Depending on what type of brick it can work really well to sculpt something. Especially if it's more medieval. However you can achieve great results by just using Photoshop if you paint out the seams and generate a base. After that you can super easily extrude and inset some of the bricks.

    If you after that overlay some really subtle normal angle colors, I usually just do that in one layer for up and down and one for left and right and use bucket fill when I have a black/white representation of the bricks and have 10-20% opacity on the bucket, filling some stones several times will give the whole thing a pretty good variation.

    As long as you've got the brick mortar/bricks in a separate layer you can pretty much do whatever you want with em easily in photoshop. And it doesn't have to take very long to get a nice layer for that.

    But yeah as I said.. Castle bricks and such you can usually achieve better result from modelling/sculpting faster.
  • StefanH
    Offline / Send Message
    StefanH polycounter lvl 12
    This trick with lab color, is this any different then doing a layer copy, doing a highpass on it and set the layermode to luminosity? That's the usual way i do it..

    and yes, I tried it :)
  • rumblesushi
    Thanks for that tip cman, that is an incredibly easy way of even-ing out light balance.

    Like perna just said though, it does seem to have a strange effect on the tone of the image.

    On your example bricks, the texture gets slightly muddied, and I tried it on a concrete wall, which took on more of a sandy hue after doing lab colour, rather than concrete.

    Do you have any tips for using this method, but retaining the tone/colour values as much as possible?

    Also, I used a high pass value of 7.5. Lower than that, like 5, gave the image a very weird look, almost like an ugly filter.
  • Mr. Bean
    If you don't mind hand painting it, it's easy to make a brick pattern. Just make one row of bricks, then clone it up one row (so that you have two rows). Then move the clone slightly to the right/left so that its grout lines fall at the mid point of each brick below.
  • Steve Schulze
    Offline / Send Message
    Steve Schulze polycounter lvl 18
    I've got a couple of techniques that I don't think have been covered yet that might be helpful to the newbies. My workflow for tiling textures is:

    *For bricks, or similarly pattern based materials, crop the texture so that the vertical edges of the texture run through the centre and between bricks.

    *Drag down a bunch of guides to find any details that are crooked or bent.

    *Use the warp transform tool to straighten them. Skew and distort can also sometimes be handy, but generally Warp is your best friend when it comes to this kind of thing.

    *duplicate your texture to a new layer.

    *Offset the original. It can occasionally be helpful to avoid putting seams right in the centre of the image to help avoid that overly tiled look, though for the most part it doesn't matter greatly.

    *Add a layer mask to your duplicated image and invert it so the image becomes invisible. If you're not familiar with layer masks, get learning. They're invaluable when creating textures or any other image in Photoshop.

    *Making sure you have your layer mask selected, use a white brush to paint out the seams. You don't want straight, consistent lines here. A more chaotic shape should help hide the seam. Adding a few random splodges here and there can also help. Just switch back and forth between black and white adding and subtracting from your mask until you have something that looks nice and tiles well.

    That about covers it. From there you can throw another 5-6 layers of overlays on top, add some adjustment layers for good measure and you'll have something that looks like a half decent brick texture.
  • Tumerboy
    Offline / Send Message
    Tumerboy polycounter lvl 16
    Ya, I tend to use the same process Jack. I'll often start with the original, make a copy, add a black layer mask, and then duplicate that a few times, so I have 4-5 invisible layers on top of the bottom one. Then offset the bottom, paint over the seams using the first layer, merge down, rinse, repeat.

    Also, many times with things like bricks, I will start off with a much larger image than what I want to crop down to. So if I crop out 1/2 of the original image, I might use the other half for the invisible layers. That way when I paint white to reveal that image, and cover a seam, I'm not just revealing the same details that are a few pixels over.

    Lastly, as Jack said, use various brushes to cover seams with. If it's something splotchy & rough, like rock, use a splotchy brush. If it's something like bricks, that you need to get to tile right, use a harder brush with a little bit of a rough edge on it.
  • ivars
    Offline / Send Message
    ivars polycounter lvl 15
    A lot of great tips. I did this small illustration of a easy way to tile repetitive patterns. I'm pretty sure all of this have been covered already, but anyways:

    This was done in five minutes so it's a little sloppy, but you get the idea :)

    TilingTextures.jpg
  • r_fletch_r
    Offline / Send Message
    r_fletch_r polycounter lvl 9
    Another way of evening out the lighting information which gives a lot of control is the highlight/shadows dialog in image->adjustments->highlight/shadows. It seems to do the highpass trick but in realtime so you can see the results as you adjust the radius. make sure to 'show more options'
Sign In or Register to comment.