Part 3, Level 2: Texture Painting - Blender Beginner Tutorial

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
this tutorial series is brought to you by polygon make better renders Fausta welcome back to the donut project that keeps on givin now sprinkles are done and now we're gonna do some texture painting on out donuts because if we were to hide our icing kiya and we just have a look at our donut in rendered view mode we can see that yeah it it it looks like a donut it definitely our brain recognizes it as such but it it looks a little bit fake a little bit cartoonish and that is because if you look at real reference photos of donuts you'll see they're not one solid color right they are you know a darkish brown color but as we mentioned when we talk about sculpting when it sits in the fat and it's like in the deep fryer and it's floating the pot that is level is getting cooked less so that pot is always a little bit whiter so it always has this like white ring around the donut so as always in blender there's a hundred ways you could do something I know I've been reading the comments people say like oh why didn't you do it this way why didn't you do it this way well yeah you can't do things any any number of ways and we could do like a gradient effect right now and that would be short and sweet in fact that's how I made my original image I did that with like a simple gradient but this is an opportunity to learn a valuable part of blender which you'll probably want to use in the future for a project and that is texture painting so we want to actually paint on our mesh here so there is a texture paint feature in blender so up here the top texture paint right now to talk about texture painting you also have to talk about a separate step which we actually don't need to do for our donut in this case and that is UV unwrapping if you go to the UV editor up here this will show you for your mesh if you select all your your vertices of your mesh it will show you your UVs now UVs are the best way to understand movies are with this image here of this this chocolate it's like if you have a 3d mesh in order for for paint to be applied to it you you have you are actually painting onto a 2d in so the software has to know how is that 2d image going to wrap around a 3d mesh and that is what UV unwrapping is now the reason I say we don't need to know it for this step is that our mesh is actually already UV unwrapped because when we add it in we went mesh and we added in Taurus in pot one Blenda already UV unwrapped it for us so it's already pretty well good to go now when we do our coffee cup in the next level when we model our own coffee cup we're actually going to UV unwrap it ourselves then but for now it's already UV unwrapped the reason I do mention this though is that looking at the squares of our of our donut here like if we this thing it drives me up the wall but the clipping is always way too low the the squares on our donut are obviously like square shapes whereas over here they are rectangular which would mean if we were to paint over here essentially we would get like a stretched image look over there if we were to paint on a square image however if we were to start with an image which was rectangular like stretched like that way so it was like like that for example then and don't don't do this I'm just to demonstrate then then it would appear right okay so anyways all this is like a prerequisite to say now we go to texture paint mode the first thing we need to do is define the size of our image here and this is where we're gonna click new at the top new image and this is where we're gonna set it up to be a rectangular image so for the width I want it to be twice as long as the height so you could get out a calculator and type it in however there's a little feature in blender and that's that you can do math inside any text box so if I hit start ooh that's gonna multiply that value by 2 if I hit enter it's now done the math for us okay and then I just need to give this image and name so I'll call it donuts texture tutorial and then I'm gonna hit OK and now it has created a rectangular image okay now you can see that our donut here is purple and our texture is black and that's because they're not synced if if it was synced properly the donut would be black in fact anytime you see purple or pink color in blender like usually that means unless you've set it up yourself but usually that means that it's missing a texture so purple or pink think of that as like a warning sign that blend is looking for something that it can't find so this is not good now the reason it's doing that is because it doesn't have any image that we're painting onto in our material over here so you remember that we set up the base color for our donut right here to just be one single solid color so what we want to do is we want to swap that out to be an image so if we went to our shading tab which you'll remember we went to when we were doing the the sprinkles right here we want to replace this with an image so I'm gonna add an image node so those shift a and then I'm gonna go input nope I'm gonna go texture image texture okay so I add this in and then what I want to do is take the yellow this is like a you know short little tip whenever you're working with nodes generally speaking one color only goes into another color so this this this color is obviously going to go into our base color then the image texture we're gonna select the texture that we just created donut texture tutorial should be in the drop-down and there we go now if we go back to our texture paint tab you should see that they would be linked and if I was to paint over here just do a quick little across it you will see that we're now painting on our map over here and likewise we can actually paint over on this side as well and it will paint onto our mesh and there we go that's good awesome now before we go another step before we start painting it's a good idea to actually save our image because if we were to save our blend file which by the way good idea to do that always get into habit of doing that the image actually isn't saved with it this image right now is stored in kind of like a temporary space and if you were to quit blend that you would lose any painting that you've done so you need to save your image separately to your blend file so I'm gonna go image save as and I will just call this yeah PNG whatever save it and there we go so whenever you see a star next to the image and meet like if I was to do painting here it means the haven't saved the image yet so if you were to quit blender you're gonna lose any changes you've done so a quick shortcut is just shift s whilst your cursor of course it doesn't work or maybe it's old test that's it alt s there you go that's the hotkey for saving the image over here so you can like quickly do that anyways alright so the first thing I want to do is I want to give just the base color of my donut so if I hit the N key let me turn on make sure that's turned on so you can see when I'm pressing n will bring up the the panel here and I'm just gonna set a donut color like this now there's a fill tool but it's gonna collide with the white stuff I've already done here and I don't know how to turn off the continuous thing anyway so I'm just gonna paint over the top of it so let's go strength of one and hey why have I got some sort of lazy thing okay I've got smooth stroke turned on I guess that was maybe a hotkey that I pushed while I was trying to how does if I guess that was smooth stroke I'd never seen that before anyways okay solid solid paint over it okay now we want to do that little white little white ring around it and gosh every area of blender needs to change the clipping it's so annoying anyways okay so I'm gonna set I'm gonna set the color white now actually I want to keep my color my donut color there if I hit X which is the same hotkey as in Photoshop it'll flip between the two colors in your palette so that's just handy so I'm gonna set this one to white and I want to use a low strength of like point three point two something like that because we don't want this white to be like blinding otherwise it'll look like it's kind of like you know just like paint it on there really deliberately so something's subtle and you'll notice we can paint both in the 2d mode and you can paint also on the 3d model so it'll update both of them interactively it'll like sync them together now one thing to note is that if we continued this around here because we are drawing with a mouse especially it's gonna be really really obvious that it's been painted right because there's a continuous stroke if you've got a stylus you can use pen pressure it's like a little bit better but even even regardless of that it helps to use a texture to throw some extra detail in there that you're gonna miss with with just your brush so you can use a texture mask you would think you would use texture by the way but texture will actually use the color of a texture that you put in there which isn't what we want we want to use our original colors here but we want to add like a stencil effect to it and that's what texture mask does i only just learned this myself so anyway we're clicking on new new texture and then down here the very bottom there's a little texture panel and then at the top we want to select from brush brush mask texture and then from the type because the default is set to image you can put any image in there but we're gonna use clouds so this is a procedurally generated texture that comes with blender it's really the most common type of procedural texture you use a lot basically so if we paint now you'll see that we get a very faint I just turn this up just so we can see it you can see we get a texture painted over it now and you'll note that actually the more you paint it sort of covers it up but it still kind of keeps the same like tile to it so actually what I like to do is change the mapping to random and then like every time you press it it'll be like a new kind of rotation of that brush and it'll look a little bit I don't know it's just more appropriate for what I want it for all right let's turn down the strength again and let's just do some painting also we can change the size of the brush as well sorry the size of the cloud so that it's a little bit more it's a little more varied but there we go cool right now one thing to note by the way this is like at the seam of the texture so actually if I was to paint in the 2d space over here like if I was to paint across there like that you can see we get a seam and that's because when you're painting in the 2d space it won't continue a stroke over to the other side right it'll just paste it where you put it but if you draw on the 3d model then it will it'll continue it across that side there so when you come to like a seam you just make sure that you are drawing on the 3d space not the not the 2d space anyway yeah we just continue around this is the sort of thing that could take five five seconds five minutes five hours depending on how detailed you want to go but most of us going to be covered up with icing this is just this is the kind of thing it's the kind of detail that you'll notice if it's not there but if it is there you might not know it you know what I mean it's like it's like when you're watching a movie right nobody notices the audio of a movie unless it's bad unless they've that's the only time anyone notices or talks to an audio engineer is where they've done a terrible job it's kind of the same thing here it's like it's it's something that if it wasn't on the donut it might look people will go like mmm the donut looks fake and they won't know why but if it is there they won't notice it but they'll just say looks great so anyways that's kind of the look we're going for because I've got the original donut texture as that thing if I hit X then it's kind of like I'm you're raising the white pots so that can be handy as well also looking at our reference why not since we've got the brush out and everything ready do some painting to the actual dark parts of the donut because it's not a constant color on the donut itself either like they would like might look that way but the more you do art and the more you do 3d you'll have you'll develop an eye for noticing things and there's no constant uniform color in the real world pretty much ever it just doesn't exist there's always fluctuations and slight variations especially for something like this so yeah I'm gonna use I'll use my white brush I'll set this to black though and we could paint like this but that's just gonna be dark what I want to do though is set it to overlay the blend type to overlay and then what it will do is it will kind of retain the original color of the donut but it'll just make it a little bit darker a little bit hotter which is kind of what I want now obviously most of this is gonna be covered up with icing so you know don't go overboard spending too long detailing the the doughnut that's not even going to be visible but a little bit especially you know near near the front near the camera a where my camera is at the front there can definitely come in handy also we should probably do some of this around the that also around the base of it as well we got to do the inside of the donut so let's just do a little bit around here as you can tell I am doing this very rough but you know it's yeah it's like why not right it's the sort of thing like this is the thing you know when you you do see deal a lot as like there are things that you know could improve something but it's too much work right so if I didn't have the text to paint tool already open and ready to go I probably wouldn't bother going to the trouble of painting on the donut but since it's here and it's already set up we might as well add the detail because it's gonna help us anyway so let's flop swap floppity flop this around and let's just do some white inside the donut here as well this is really not going to be that visible by the camera but little bits of it will and just some that kind of looks like a bagel it actually really really looks like a bagel but that's alright they are quite similar I guess alright so that is gonna do it for the texture that's probably fine as it is yeah just erase some of this that's looking a little too hot a little too white but that's good so make sure you save your image when you are finished image save it's done and now if we go to layout mode let's bring back our icing and let's have a look at this actually you know turn off the icing let's probably yeah there you go you should be able to see the texture now painted onto your donut and if you don't make sure that your shading inside your shading settings you do have the correct image they look the same one that you painted on and you saved is going into your base color and by the way you probably know that like you know we put this into the base color but now that you understand that you could probably understand we can also paint onto the roughness input we could just by doing a separate texture paint and putting that into the roughness or we could paint onto other other properties of it so this is just you know base base painting but you can paint and radar really laid material that's the kind of thing that substance paint is typically good at because it can do color and roughness and all those things in the same brush setting and you can create really interesting things but anyways that's going to do it for our textured paint so go ahead click here and in the next part we're going to be adding displacement and procedural texture to the donut and push the realism even further so I will see you in that video
Info
Channel: Blender Guru
Views: 1,424,150
Rating: undefined out of 5
Keywords: blender, tutorial, blender beginner tutorial, blender donut tutorial, andrew price
Id: nht2RoYBUfA
Channel Id: undefined
Length: 15min 58sec (958 seconds)
Published: Thu Sep 12 2019
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.