In the previous article, Blender Texture Basics: Base Color, Roughness, and Normal Maps, we made a wooden table using textures. This time we'll put a logo on the front of a coffee cup, and cover UV unwrapping — how you decide where an image sits and which way it faces.
Blender can unwrap UVs automatically, but that alone won't put an image exactly where you want it. We'll try the automatic unwrap first and see how far it gets us. From there we'll look at how to adjust the UVs so the image lands where you intend.
* This article was verified with Blender 5.2 LTS.
This article uses the wooden table and the coffee cup from the previous articles. No table or cup? A plane with an image on it and a cylinder work just as well with the same steps.
Unwrapping automatically with Smart UV Project
UVs are the information that decides which part of an image goes where on the model. Position is expressed as U across and V up, generally in a range of 0 to 1. To make UVs, you cut the model's surface and lay it out flat over the image. This is called "UV unwrapping". Blender has a feature that does this automatically, called "Smart UV Project". Let's try that first.
We'll use the wooden table built in the previous article, Blender Texture Basics: Base Color, Roughness, and Normal Maps. Making the table longer changes its scale values, and the wood grain gets stretched lengthways. The previous article left it in that state.
Applying the scale with Ctrl + A → "Scale" leaves the grain stretched. The scale values go back to 1, but applying the scale doesn't change the shape of the UVs.
So we rebuild the UVs.
Running Smart UV Project
Select the table, press Tab to enter Edit Mode, and press A to select everything. Press U and the UV Mapping menu opens.
Choose "Smart UV Project" from the list. A settings window appears; leave it as it is and press "Unwrap".
The stretched grain is fixed.
Checking UV distortion with a Checker Texture
Smart UV Project unwrapped it, but with a pattern like wood grain it's hard to tell whether the pattern is stretched or simply looks that way to begin with. So we temporarily apply an image of white and grey squares — a checker pattern — to find out. In Blender it's called a "Checker Texture".
Switch to the "Shading" tab at the top of the screen. In the Shader Editor, press Shift + A and add "Texture" → "Checker Texture".
- Connect "Color" on the Checker Texture to "Base Color" on the Principled BSDF
-
Connect a UV output to "Vector" on the Checker Texture. How you do that depends on the state of the material
- If an Image Texture is already applied: branch the output of the "Mapping" node feeding that Image Texture and connect it to "Vector" on the Checker Texture as well
- If nothing is connected yet: press Shift + A → "Input" → "Texture Coordinate", and connect its "UV" output to "Vector" on the Checker Texture
With nothing connected, the Checker Texture doesn't use the UVs; it displays its squares using coordinates Blender generates automatically. So redoing the UV unwrap won't change how the squares look, and you can't check the UVs for distortion. To check the UVs, you need to connect UVs to "Vector". An Image Texture, on the other hand, uses the UVs with nothing connected at all.
Checking whether the squares stay square
The squares won't show up if the 3D Viewport is set to "Solid". Of the four round icons at the top right, check that you're on "Material Preview", the second from the right, or beyond.
Once the Checker Texture is connected, look at the shape of the squares. Where they read as squares, the UVs aren't distorted. Where they read as rectangles, the UVs in that part are distorted.
Apply it to the cup and the saucer the same way. On the side of the cup the squares spread out sideways, and on the saucer they aren't square either.
Set against the table, the difference is clear. The table has a grid of proper squares. Even within one scene the state of the UVs differs from object to object, so we check and fix them one at a time.
Once you've checked, connect the original Image Texture back to "Base Color". The Checker Texture gets disconnected, but leave the node in place.
When Smart UV Project isn't enough
The table was fixed by Smart UV Project alone. Next, we'll put a logo on the front of the cup. First, let's run the same operation on the cup and check the result in the UV Editor.
Opening the UV Editor
The UV Editor is the screen where you view and edit the UV layout. Pick "UV Editing" from the tabs at the top of the screen. The screen splits in two, with the UV Editor on the left and the 3D Viewport on the right.
The cylinder the cup was built from already comes with UVs. Select the cup in the 3D Viewport and press Tab to enter Edit Mode, and those UVs appear in the UV Editor.
Trying Smart UV Project on the cup
Still in Edit Mode, press A to select everything and run "Smart UV Project" from U.
The side has been split into several bands. In this state there's no way to tell which part of the UVs corresponds to the front of the cup, so the logo can't be lined up with it.
Why the UVs split into bands
Smart UV Project looks at the angle between neighbouring faces and cuts where that angle changes sharply. The measure for that is the "Angle Limit" setting. The default is 66°.
On a cube, neighbouring faces meet at 90 degrees, which is over 66. That's a sharp change of angle, so a cut goes in along that edge.
The side of the cup is different. This cup's side is built from 32 segments, and neighbouring faces differ by only about 11 degrees. Nowhere exceeds 66 degrees, so the angles alone don't decide where the side should be cut.
Even so, a cylinder won't lie flat unless it's cut somewhere. So the side gets split into several bands, at positions Smart UV Project picks for itself.
When applying a logo, adjust the UVs yourself
Smart UV Project places its cuts based on the angle between faces. It doesn't judge what the image shows, or which side of the model is the front. That makes it handy where the pattern's position doesn't need lining up precisely, as with concrete or a fabric weave. Where you want a logo on the front of the cup, as we do here, you adjust the UVs yourself. Because you decide again where the cuts go, you can line up the logo's position and orientation too.
Marking seams and unwrapping
We rebuild the UVs so the logo can go on the front of the cup. First, we decide where the cuts go. In Blender, a cut like this is called a "seam".
The cuts go in three places
Say you rolled a sheet of paper into a tube. To get it back to a flat sheet, you need one cut down its length. The side of the cup works the same way. Unlike a tube, though, the side of the cup is joined to the rim and to the bottom. Those joins have to be cut as well, or it won't come away as a single band.
That makes three places to cut.
- One vertical line at the back
- The ring at the rim
- The ring where the side meets the bottom
Unwrap with only the vertical line and the bottom, and the side doesn't come out as a band — it fans out into a wedge. Only once the rim is cut does the side come away as a single band.
Put the cut on the opposite side from the logo
We're placing the logo on the front, so the cut goes at the back.
There are two reasons. The first is that an image doesn't carry across a cut. Put a cut down the middle of the logo and it splits into two separate halves. The second is that a join at the back is less noticeable.
Marking the seams
In Edit Mode, switch to edge select mode (2). Click the topmost edge in the vertical line at the back. Then hold Ctrl and click the bottom edge, and all the edges in between are selected together.
Press U and choose "Mark Seam". The selected edges turn red.
Next, mark seams the same way at the rim and where the side meets the bottom. These run as rings, so holding Alt and clicking an edge selects the whole loop at once.
Unwrapping
Press A to select everything, then press U.
This used to be a single "Unwrap" entry, but the unwrap is now split into three methods.
- Unwrap Angle Based
- Unwrap Conformal
- Unwrap Minimum Stretch
Here we choose "Unwrap Angle Based". The differences between the three are covered in the column "The three unwrap methods", and unwrapping with the default is fine.
The side has opened out into a single band.
Before, the side was split across several bands; now it's in a shape where you can tell which part is the front. Alongside the band for the side, the inside of the cup, the bottom, and the handle each sit there as round groups. Groups like these are called "islands".
The band is still long and narrow. We'll sort out its size and orientation next.
Seams can be adjusted after unwrapping. Where something is stretched you add a seam, or take one away if there are too many. The official steps work the same way: mark seams, unwrap, then adjust based on the result. The Checker Texture we used earlier works for this check too.
Applying the transparent PNG logo to the cup
Now we use the unwrapped UVs to put the logo on the cup. There are two things that trip people up here.
Connect only "Color" and everything but the logo turns black
In the Shader Editor, add an Image Texture node, open the transparent PNG of the logo, and connect "Color" to "Base Color" on the Principled BSDF. Everything that was transparent around the logo turns solid black.
A transparent PNG carries the information about what's transparent separately from "Color". With only "Color" connected, that information never arrives, so those areas come out black.
Connect "Alpha" and now everything but the logo turns transparent
So let's pass the transparency information as well. Connect "Alpha" on the Image Texture to "Alpha" on the Principled BSDF. This time, everything on the cup except the logo turns transparent, and you can see straight past it.
"Alpha" on the Principled BSDF is the setting that controls transparency. It isn't a setting for keeping the cup's original colour, so everything but the logo ends up transparent.
Keeping the cup's colour and showing the logo with Mix Color
We'll show the logo's colour where the logo is, and the cup's colour where it isn't. For this kind of split, use a Mix Color node.
Press Shift + A, add "Color" → "Mix Color", and connect it as below. Once added, the node is labelled "Mix".
- Image Texture "Alpha" → Mix "Factor"
- Mix "A" → the cup's original colour (beige)
- Image Texture "Color" → Mix "B"
- Mix "Result" → Principled BSDF "Base Color"
Don't type a number into "Factor". Connect the alpha there and the areas with and without the logo are sorted between A and B automatically.
Now only the logo shows, and the cup keeps its original colour. The sheen is unchanged too.
The logo is still distorted, though, and repeated all over the cup. Next, we'll adjust the UVs to fix the logo's position, size and orientation.
Adjusting the UVs to place the logo on the front
Stopping the image from repeating
Before moving the UVs, there's one setting to change on the Image Texture node. Set "Repeat", third from the top on the node, to "Extend".
Left on "Repeat", the logo tiles across the cup whenever the UVs run outside the image, which makes its position and size hard to adjust. On "Extend", the image doesn't repeat, and the colour at its edge simply carries on outwards. The logo image is transparent at the edges, so the area around the logo keeps the cup's colour.
Fitting the side UVs to the logo
Click the image icon at the top of the UV Editor and pick the logo image from the list. The logo appears behind the UVs.
At this point the UVs and the logo don't line up. From here we move only the side UVs to fit them to the logo.
Hover over the island for the side and press L, and the whole island is selected. The islands for the inside of the cup, the bottom, and the handle sit there too, but this way you select only the side.
In the UV Editor, you can use the same shortcuts as in the modelling article.
- G: move
- S: scale
- R: rotate
Use these keys to adjust the UVs' position, size and orientation so the logo lands on the front of the cup.
Check in the 3D Viewport and the logo is now applied to the front of the cup.
A checklist for when the UV unwrap doesn't come out as expected
When the UV unwrap doesn't come out as you expected, work through the following five checks in order.
- Is the scale applied?In Object Mode, run Ctrl + A → "Scale" and check that every scale value reads 1. Apply it before you unwrap and the UVs are built at the right proportions. Applying it after unwrapping doesn't change the shape of the UVs, so the stretched pattern stays as it is. In that case, apply the scale and then unwrap again
- Are the faces selected?The UV unwrap works on the faces that are selected. UVs showing in the UV Editor doesn't mean every face is selected. Before you unwrap, press A in the 3D Viewport to select all the faces
- Are any faces flipped?Faces pointing the wrong way can throw off the result of the unwrap. In Edit Mode, press A to select all the faces, then press Shift + N to recalculate the face directions (normals). This usually turns every face to point outwards
- Do the UVs overlap?Where several UVs overlap, those faces each get the same part of the image. That's fine when you want the same pattern on several faces, but when you want a logo in one particular place, as we do here, it can end up on faces you didn't intend. Move the UVs for any faces you don't want the logo on outside the image frame
- Are the parts wildly different in size?Even where two areas are about the same size on the 3D model, UVs of different sizes give the pattern a different level of detail. Where the UVs are small, a small part of the image gets stretched over the area, so the pattern can look coarse. You can check the size of each island by setting "Display Stretch" to "Area" (see the column "Checking UV distortion by colour")
What comes next
In this article, we marked seams, unwrapped the UVs, and applied the logo to the front of the cup.
If it feels like a lot to take in, these five points will get an image where you want it.
- Try Smart UV Project first, and when you want to fine-tune where the image goes, mark seams and unwrap the UVs
- Smart UV Project places its cuts based on the angle between faces, so a curved surface like the side of the cup can break into several bands
- To unwrap the side of a cup as a single band, mark seams in three places: one vertical line at the back, the rim, and where it meets the bottom
- To apply a transparent PNG image, connect "Alpha" on the Image Texture to "Factor" on Mix Color
- Check UV distortion with a Checker Texture
Next comes lighting. We turn off the HDRI we have been using and start from complete darkness. Placing lights around the coffee cup one at a time, we look at how to decide the way the light falls.
Next article: Blender Lighting Basics: Placing Your First Light Without an HDRIFAQ
Q. My UVs look like a mess after unwrapping. Is that right?
A. Complicated-looking UVs are not a failure in themselves. What matters is whether the pattern lands correctly on the 3D model. Apply a Checker Texture (a chequered image): if the squares look square, you are fine. Anywhere they look stretched or squashed, add a seam there and unwrap again.
Q. Is it better to have fewer seams?
A. Fewer is not automatically better. Too few seams and the UVs distort; too many and you get more visible joins. Place them where the model's shape lets the surface unwrap flat without strain.
Q. Is it a problem if the UVs overlap?
A. Sometimes you overlap them on purpose to reuse the same pattern across several faces. But when you want a logo in one particular place, as we do here, the logo can also end up on the overlapping faces. Move the UVs for any faces you do not want the logo on outside the image frame. Overlap is also a problem when you bake, the process of burning a pattern into an image.
Q. I don't want the logo on the inside of the cup or on the rim. How do I apply it to only some of the faces?
A. Move the UVs for the faces you do not want the logo on outside the image frame. With the image set to "Extend", the colour at the edge of the image carries on outside the frame. The logo image here is transparent around the edges, so the faces you moved outside the frame do not get the logo. Fit only the UVs for the faces you want the logo on to where the logo sits in the image.
Q. If I adjust the UVs for the Base Color, will the Roughness and Normal images shift too?
A. They won't. All three read the same UVs, so rebuilding the UVs once re-applies all three to the new position. You don't need separate UVs per image.
Q. If I unwrap again, do I have to redo the image I already applied?
A. No. The material setup stays as it is, and the image is re-applied to the position of the new UVs.
Q. Do I have to apply the scale before unwrapping?
A. If every scale value is 1, you can skip it. If any value is not 1, apply the scale before unwrapping and the UVs are built at the right proportions. Applying it after unwrapping does not change the shape of the UVs that already exist. If the pattern is stretched, apply the scale and then unwrap again.
Q. Does marking a seam split the model open?
A. It doesn't. A seam is a marker that says cut here, and the shape of the 3D model is unchanged. When you unwrap, the UVs simply split apart at that spot.
Q. Nothing shows up in the UV Editor. Did the unwrap fail?
A. In most cases, the unwrap has not failed. If "Show Overlays" at the top of the UV Editor is off, the UVs are not displayed even though they exist. There is more in the column "When no UVs show up".
Columns
The three unwrap methods
The U menu lists three unwrap methods.
- Unwrap Angle Based
- Unwrap Conformal
- Unwrap Minimum Stretch
To compare the three methods, you don't need to press U and unwrap again each time. Switch "Method" in the panel that appears at the bottom left right after unwrapping, and the UVs are unwrapped again on the spot. That panel disappears as soon as you do anything else, though, so switch between them one after another.
Try them on the same cup and the UVs come out in different shapes. With "Conformal", the UVs for the inside of the cup turn into a long, narrow leaf shape. With "Minimum Stretch" they stay close to a circle, but the UV lines gather near the centre and the spacing gets tighter. The band for the side, on the other hand, barely changes with any of them.
The UVs come out in different shapes, but when we applied a Checker Texture and compared them in the 3D Viewport, the squares looked much the same.
Note that "Unwrap Minimum Stretch" has an "Iterations" field the other two methods don't. It sets how many times to repeat the calculation that reduces UV distortion.
For this cup, the default, "Unwrap Angle Based", works fine. Unwrap with it first, and if the pattern's distortion bothers you, try the other two and compare.
What changing the Angle Limit does
The "Angle Limit" in Smart UV Project is the measure for cutting where the angle between neighbouring faces goes past that value. The default is 66°. You can check it by opening "Smart UV Project" at the
bottom left right after unwrapping.
Lower the value and even a slight difference in angle gets a cut. The UVs are divided more finely and each piece distorts less, but the image becomes harder to carry across them.
Raise it and cuts only go in where the angle changes sharply. The UVs come out in larger groups, but forcing them flat makes stretching more likely.
Using the default and adjusting as needed, based on the result, is the way to keep this straightforward.
If the logo only needs to face the front, there's another way
The U menu has an entry called "Project from View". It builds UVs straight from the direction you're looking at in the 3D Viewport.
Run it with the cup viewed from the front (numpad 1), then fit the UVs' position and size to the logo, as in the main article. Without marking any seams, the logo is applied without distortion when seen from the front.
Look at the UV Editor and the silhouette of the cup has become the shape of the UVs as it is. That's because it traces the shape as seen from the front.
Seen from the side, the pattern breaks up
Turn the cup to the side and the pattern stretches top to bottom and becomes mirrored left to right.
"Project from View" shines a light from the front and traces the shape like a shadow puppet. The side runs almost parallel to the direction you're looking in, so in the UVs it gets squashed into a narrow strip, and the pattern ends up stretched. It's mirrored left to right because the near and far faces land on the same place in the UVs.
This method is handy for a model that will only be shown from the front, or when you want to put an image on a flat surface. When you'll turn the model to show it, or want a pattern over the whole thing, marking seams and unwrapping the UVs as in the main article is the better fit.
When no UVs show up
Sometimes nothing appears in the UV Editor even after you enter Edit Mode. It looks as though the unwrap failed, and switching the select mode, toggling "UV Sync Selection", or framing everything makes no difference.
In this case the cause isn't the UV unwrap: it's that "Show Overlays" is off. Enable that button in the UV Editor header and the UVs appear.
The UVs can also end up off screen when you switch which image is displayed. For that, "View" → "Frame All" (Home) brings them back.
Checking UV distortion by colour
The Checker Texture was a way to check UV distortion from the 3D Viewport, with an image applied. The UV Editor has its own way to check distortion, too.
Press the down arrow next to the "Show Overlays" button in the UV Editor header to open a menu. Tick "Display Stretch" in there.
The closer to blue, the less the distortion; the closer to green or yellow, the more.
In the image above, the side we unwrapped with seams is a solid blue, which tells you its distortion is small. The islands for the inside of the cup and the handle, on the other hand, read green to yellow, so distortion remains there. Both are tubes opened out into a circle without any cut. Checking by colour like this gives you a guide to where to fix things.
The method can be set to "Angle" or "Area". The default is "Angle", and that's the one to use for looking at distortion of shape. "Area" is for checking whether the islands are unevenly sized.