 Felly mae ichin meddwl yw'r gwybod o'i ddwyfodol. Felly mae'n gwneud gwybod i ddiwrnodd, mae'n gwneud i'r ddaeth Cymru a ddod yn gweld i'n gwybod i'w ddwyfodol ac mae'n gweld i'w ddwyfodol iawn. I wnaeth i ddefnyddio ddwyfodol i wneud i'w ddwyfodol i'r ddwyfodol i'w ddwyfodol hynny. Felly mae'n gweithio i ddwyfodol i ddwyfodol, I'm going to go file new and I'm going to call this branches diffuse. Now I had caps lock on. And mug branches underscore diffuse. That's better. Okay now the size. We'll do this as a 2k text so that's 2048 by 2048 wicked. And everything's good so we'll click okay on that. Okay the first thing I'm going to do just because I like knowing that I'm getting my full screen real estate is press control and zero just to make sure that that's full full size. And now I'm going to go to file open and we're going to open those other four images. So let's get those all open. They'll all open across the top. I'm just going to copy them over one at a time onto the kind of master image. So we'll start with this one. So I'm going to press control A and control C. So I've selected all and then I copied it. And then we're going to go. How do I get back across there? Where's my main? What's going on here? There it is branches diffuse. Right so we'll paste this one onto here. Lovely. And we're just going to position it somewhere off the side. I want to try and make as good use of the texture space as I can. So I'm going to resize that a little bit. Okay so that's the first one on there. Okay now we need another one. So we'll get this one. Control A, control C, back to my main diffuse and then I'm going to do control V to paste. That'll put it on a new layer for me, which is handy so that I can resize things and move things around independently at this stage. Okay so this one kind of looks like it wants to go up in the top corner I think. Okay let's resize that. So I'm just trying to make sure I'm getting the most out of this space that I've got. Okay so I'm done with that one. What have I gotten here? I haven't got this one yet. So control A, control C, back into my main image. Paste that in. Where's this one going to go? Where's this cheeky little one going to go up here I reckon? Control T to resize and we'll get it fairly close, something like that. Okay so I'm now done with that one. And this is my final one. Control A, control C, get this one into here, control V to paste. And this one I think one I'm going to do is rotate this one around. So I press control and T again to turn on the free transform tool. And I'll put that one there. So I can see straight away that I'm not really getting the best use of space out of this so I'm going to do a little bit of moving around. So let's just move that one down to the bottom. Okay so I think we can do a little bit better with this one. So what happens if I rotate this around? Maybe? Okay yeah I think I know what I'm going to do now. So I'm going to have this one. I'm going to rotate this one around as well. I don't know if I needed to rotate them around. But it feels good to do it so this one can be a little bit smaller because it's going to be a smaller branch and this one. Nope. And this one we're going to flip around this way and we'll move it over here like that. It's not bad. I can still do a little bit better somewhere. I know I can. Okay so we're going to move this one up here sort of into the middle and I know that that now means that I can get a little bit more out of this one better. Yeah that's not bad. So I'm fairly happy with that. I probably could pack this a little bit tighter but it's a 2k texture and I'll get away with it. And I don't want to spend all day doing this because it's not a very interesting part of the video is it? So we've got all those images ready to go. So that can now be imported as one texture map when we get to the Maya part. But it's still a little bit of setting up that we need to do to make this work as a tree branch texture. So what I'm going to do first of all is just flatten this image. So I've selected all layers at once. I'm going to right click and do merge layers. So there now all be beautifully merged together. And then what I'm going to do is create a new layer. So this one is going to be my alpha. And if you've never used alpha layers before what they essentially are are black and white images that tell a 3D application such as Maya or Unreal Engine which parts of an image you can see and which parts of an image you want to be see through. So for something like a tree branch it's really useful. But we need to set that up first. So on my layer 4 which is the one with all my branches on. I'm going to what do I want to do? Instead of the magic wand tool I'm going to use quick selection. On what I'm doing is I'm just trying to select everything as you can see. But hopefully when I let go it's just pinging to the branches because there's nothing else on those layers. So that's really good. And then I'm going to go to my alpha layer. So you can see I've still got that selection. My marquee is it called a marquee? The wiggly line is still there. Right so the bit that I want to be seen needs to be white. You can see that my two colours here that I have are black and white. So I'm going to use the keyboard shortcut to fill this with the colour I want. So it's alt and delete to fill that part of the image with white. And everything that I don't want to be shown through I want to be black. So to do that I'm going to go to select and in this. So now everything apart from the space with the branches in is selected. And I press control and delete and that will fill with the background colour. And you can see now I've got quite a handsome looking alpha channel. If I press control and d to deselect this is the very pretty image that it leaves me with. Which is spot on. That's exactly what I wanted it to look like. So this is no good here though. It's just in the way and it won't actually function as an alpha channel. To make it be an alpha channel we need to go to channels which is just next to layers. You can see we've got RGB which is showing all three of your colour channels at once. And we need an alpha channel but it's not there. So here if you're on layers this would be create new layer but in channels it creates a new channel. And because there isn't an alpha channel that's what it will create a new alpha channel. So we're going to go to alpha layer. We're going to press control A and control C to select everything on that layer. Back into channels make sure you're on the alpha layer and then control and v to paste. That now is given as an alpha channel. That is going to be so amazing later when we need to use it. Okay so that bit's done. So you can see because we've been working on the alpha channel that's the bit that's visible. But we don't want that to be visible. We want the RGB to be visible again. So I'm going to turn that on. Whenever you're previewing your alpha the bits that are going to be see through show up red. Just in case you're wondering why that was red. So I'm just going to kill that because I don't need to be able to see it now. So that's the alpha set up. That's ace. So the last thing I really need to do I can bin this alpha layer now. It's done its job. I want to make sure that I have a colour around the edge because I want to make sure that if the alpha channel if there's a bit of bleeding going on around the edge that it's still showing the right colour. So we need to set that up now. So I'm going to create a new layer and this is going to go behind the layer with the branches on and we need to get some colour on here. So I'm just going to lay down a kind of green colour. So I'm just going to sample kind of a middle of the road green I think that appears in most of the branches. And I'm going to press control and D just to turn that selection off and alt and delete to fill. And that's fine. That's good enough. What I will also do though because I just want to make sure that the colours match as much as possible is I'm going to duplicate this layer a couple of times like that just by dragging it onto the new layer icon. And then I'm going to put a bit of a blur on these and that will just spill these colours out a little bit over the edge around the edge so it should be the matching colour that we get which is what we want. So I'm going to go to filter down to blur and I'll be using Gaussian blur because it's my favourite type of blur. If you haven't got a favourite type of blur you should get one. Okay and we just want to make sure that we're not blurring it too much. And hopefully you can see in the background that it's just causing these edges to be a little bit if I just flick that on and off. You see it's just blending a little bit better with the background which is the effect I'm going for. So I'll do it on that layer and I'm just going to repeat it on this layer just to make the effect a little bit stronger. So we're going to do that blur again. Gaussian blur. Okay let's see what effect this is having. So you can see it's adding when I flick that on and off it's adding to the blurred effect that we get which is what we want. I might blur this one out a little bit further. Maybe not. Maybe I don't like that. Yeah that looks okay. So I click on okay on that and I think that will do for me. I'm happy with that. So we're now going to save this out as a texture and then we'll move into Maya to start building the tree. So let's get this saved now and we need to save this out properly otherwise it will be in no use to us. So file save as. So the first thing I'm going to do is save like a master version of the texture so if there's anything wrong with it I can come back into Photoshop the one that's got all the layers and I can make adjustments. So I'm going to call this one ranches master and that's going to stay as a Photoshop file so I'll click on save and that's that one done. And then I want a compressed version which is flattened so it only has one layer but also has an alpha channel so we can use that one in Maya so I'm going to go to file save as. This one's going to be a target. Target is my favorite image format. Again you should have a favorite image format. We're going to call this one ranches diffuse. Okay now this is important when you're working with a target file and you need the alpha channel to come through make sure alpha channels is selected. So save that what you also need to do is this target options box will come up and you've got a choice how many bits per pixel do you want and if you want the alpha channel you need to choose 32. 24 bits is RGB it's eight times three so eight bits per color and then 32 is another eight bits which is another color which is your alpha channel so we need to have that one selected as well and we'll click on. Okay so that is the branches set up what we need to do now is get into Maya and start building the branches in 3D. Yes!