From the course: Blender 2.83 Essential Training

Dynamic painting - Blender Tutorial

From the course: Blender 2.83 Essential Training

Start my 1-month free trial

Dynamic painting

- [Instructor] Dynamic Paint is one of those hidden features inside of Blender that has an enormous amount of power yet we don't talk about it much. And in this video, I want to show off one of my most favorite features that it has, painting. Now let's go ahead and delete this cube, x delete, hit shift a, plane. Let's hit s and make this kind of big, something like that. Now hit tab, right click, subdivide. Come over here, and if your computer can muster it, 75, hit enter. Close out subdivide, tab out, shift a. Let's go ahead and add a monkey. Now, let's click on the plane and split this open. And we're going to click over here. We're going to go to Shader Editor, down to material, make a new material, and hit n to get a little bit of real estate. Now let's head over to physics, and with our plane still selected, I'm going to zoom in a little, click on Dynamic Paint and add a canvas, and then click my monkey. Do the same thing, but in this case I'm going to add a brush. Now as you imagine, Dynamic Paint has both canvas and brushes. A brush is what influences the effect. A canvas is what receives the effect. And there's a lot of different effects that can happen on a canvas. With the plane selected, if you scroll down you'll see advanced surface type. If you click here, you'll see a dropdown of many different options, waves, height, displacement, and paint. Paint is what we're going to focus on today, but in order to see it you need to come down to output and then you need to either create a paint map or a wet map. In my case, I'm just going to make a wet map really quick. I'm going to come over here, control c, and then inside of this Shader Editor, I'm going to hit shift a, I'm going to search for attribute. We need to be able to pipe in the wet map attribute in here and that's what this attribute node will help us do. So under name, hit control v and then enter. Now in order in order to see it, it might be best to add a color ramp, so shift a, color ramp, and then connect the factor to factor and finally color to base color. Now this color, I can set it to whatever I want. So, for example, I can set it to maybe it's grass, so let's go for somethin' a little kind of greenish, kind of darker green. Then over here on white, maybe it's a little bit blue, so we're going to set it to blue. All right, now I'm going to zoom out over here. I'm going to click on my monkey, get some good viewpoints here. I'm going to put my monkey on the edge over here and scale him up, g z, make sure that he's cutting right through. And finally, let's come over here and go to look dev mode. You'll notice that it turns green, and you can just barely make out a little bit of blue right here. So with that, I'm going to go ahead and click on play, and I'm just going to move the monkey around. And as I move the monkey around, you'll start to see that I'm painting on the surface. Now if it becomes a little too hard to move the monkey, you can always hit g shift z and that way you'll lock it to the x and y axis and then you can just literally start painting with this monkey. Now let me pause it, and I'm going to hit i on this monkey. And then I'm going to go all the way to the end, I'm going to hit g shift z, move my monkey to the other corner, hit i, location, click on this plane, and I'm just going to hit play. And as that's playing, I'm going to come back to my canvas Dynamic Paint properties and scroll down and check out one more cool option and that's the dry option over here. Now with this you can actually change it to do whatever you want. Maybe, for example, you want it to dry a lot sooner. Under my Shader Editor, I can always hit plus and add a brand new color. Maybe I want to be crazy and I want to make it red. Now look at that, isn't that pretty cool? Or maybe I want to make it seem like the monkey is going really fast like leaving a scorched part behind. So I'm going to set one to red, come over here, I'm going to set this more to like an orangy brightness. There we go, somethin' kind of hot, and then move this closer. And there you go, you now have a monkey who is scorching across the grass floor. Get in there and start playing around with some of the options that you have inside of Dynamic Paint. And remember, if you use a wet map or a paint map, you have to attach it to an attribute and then eventually to your shader so that you can see it in either Look Dev or Rendered Mode.

Contents