Layer multiple screentone textures, Blender NPR

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
all right some people have uh questions about how to combine like the screen tone Shader with other parts like if you want to combine it with a you know just your regular principled Shader or with an outline or whatever so I'm just going to show you how to do that really quickly I did briefly show it in you know the main video I believe but uh can't be bothered to go back and check that so um and even if I did mention it was probably pretty quick so you know smooth Suzanne like we have here just go over to shading go to render view make sure you're using e for this let's see I'll turn on a light probably dim the back quite a bit also screencast keys still doesn't seem to be working for blender 4.0 so no no keystrokes unfortunately right now but I'm also going to make the background transparent and uh let's just move this to the side like that this is just my my default scene set up right here so that's why it looks you know like all this stuff is here all right so bring a Shader to RGB oops Shader to RGB right here let's make you know the the screen tone with the the wave texture so we can do that with a math node I'll just search yeah I'll just search for a math node I'm still using S to search uh even though I'm not supposed to 4.0 they made it so when you press shift a you used to have to press s to start searching but now you can just start typing so I can start typing you know wav get a wave texture so I'm going to drop this in here change it to greater than now we have this right there oh yeah I should probably turn this the color management to standard also so that this white is actually white like that okay let's get the object no what do I want I want the camera camera data Drag The View Vector we can and plug this into a mix but we don't want this to color we want it to be a float I'll PL I'll plug the factor into the factor right there plug that in like that and then we can uh change these values to whatever we want let turn this up a little higher okay and also let's rotate this so I'll bring it a mapping and rotate it uh on the Z axis I'll do 45° like that okay so now we have uh something pretty basic let's see do one let's tweak this a little okay so if you want to add this to something else you would just get a mix color right here and uh and then you can add it literally just add it I'll plug this into the second we can change this to multiply like I showed in the video I did this with the uh with the outline and you can plug pretty much whatever you want into here so if we want we could plug um the result from the Shader to RGB like this and that will basically just just it's mixing you know this right here the principled with this right here and then you can control you know how much is actually being multiplied with this Factor right here like that okay so if you for some reason wanted it to be you know different say we want this to actually be different colors or something like that I'll just like create another one right here let's see probably can't let's see if this actually works I haven't tested this so sometimes there are errors with no this works okay there have been problems in the past um for me using multiple Shader to RGB nodes like this but something like this works so now we can affect this to be whatever color we want without you know changing this color right here because if we do change this color it's going to change how uh how this screen tone looks so let's make this something lighter so it's easier to see and maybe let's also make this a little skinnier like that okay so yeah if I change the color of this you're going to start seeing the actual lines like move around more and move to different spots like that so you might not want to actually change this this one right here you might want to use another one a second one but yeah so if you wanted you could make multiples of these and layer them up this way also so uh let's let's do that real quick I'm actually going to plug this into the right here change this to mix and now we can choose two different colors so the black is going to be the first one right here and then you know this one we can make whatever color we want I'll just make it like a a pale blue or something like that doesn't really matter too much it's just for an example let's duplicate all of this right here shift d okay and uh we'll get rid of this and bring in a voronoi right here so I want to plug the distance into to the factor of the mixed Shader right there and now we need to take the result again from the Shader to RGB plug that into the greater than just like we do at the top and we can start mixing this one in too so let's multiply this and whatever we plug into the second slot that's what we're multiplying so that would be uh this right here like that we need to change this to 2D we also need to turn the randomness all the way down and then we can change the scale you can see now we have lines and we have dots if you want it to come from the other side instead so basically it's uh it's looking at the light instead of the the shadow I think we should just be able to switch this to less than and it should flip everything around we'll see we might have to adjust these values quite a bit but yeah it seems like it is on the opposite side now so we just have to adjust these values quite a bit that's the other one okay so now you can see it's it's the light so like I said said in the video if you want if in If instead of making it darker you want it to be lighter you want to not use multiply but use add I think if you use screen that also works and then let's plug this into the factor instead and then we can choose what color we want to use right here so oh actually let's take a look at this cuz this might be inverted it is inverted so maybe if we just flip these this will work we can do we can do one and then zero or how do I want to do this maybe we can add this I haven't actually tried this so I'm doing it on the spot mhm you know what this is kind of silly but what I'm going to do is I'm just going to use another mix node cuz I know that if I use this I can just flip it again so right now it looks like this but we run it through here I set this to one and zero and now this is the light part so now I know if I plug this into the factor this I believe should be working and it is yeah okay there we go so now we have light right there we should be able to change the color I believe is that right or instead we could also just use the mix RGB or sorry the mix one and then this is going to be whatever color we want this is probably the easier way to do it honestly so we can just make this whatever color we want let's make it um something a little more obvious let's make it like a a pale yellow or something like that okay so there we go that's how you would do it let's take a look at this just in case you want to screenshot it you could basically layer this up as many times as you want the greater than right now are just controlling these mix rgbs plugging it into the factor which is basically using this black and white texture to control which colors are being used so the black is always going to be the first slot and the white is always going to be the second slot so then when we look through here instead of black and white it's whatever these colors are that you choose same thing with here so we have black and we have white so whatever the first color slot is is going to be filled in with the black which is you know the result from this the second is going to be the second slot is going to be whatever was white right there so yeah that's how you would do it and this should work for you know shaders and stuff like that too it's just that if you're using a mixed color you can't plug a Shader in directly and have it work you have to run through a Shader to RGB first you can see this is red so it's it's just going to break but if we run it through a Shader to RGB then it should work fine like that because it's uh this this is expecting color data and so this outputs color so it accepts it if that makes any sense all right um I think that's enough for this one probably spent too long rambling hopefully this helps some of you having issues yeah have a good one
Info
Channel: Joey C-quel
Views: 2,307
Rating: undefined out of 5
Keywords:
Id: bqUS-AwOjJ8
Channel Id: undefined
Length: 8min 55sec (535 seconds)
Published: Fri Nov 03 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.