Cinema 4D Tutorial - Using Cel Shader to Cast Shadows on 100% Luminant Objects

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
everyone a DJ from my design calm and today I'm gonna go over a little question that I had a lot of people asked me when I'm covering all the 2d illustrative style inside a cinema 4d and that is how people can get a shadow cast onto an object that has a hundred percent luminance and I go over this a little bit in my actually go over a lot of it in my cell shader tutorial which you can see right up on the screen now it's on my webpage just check it out you go I design comm forward slash tutorials and if you go down a little bit you'll see this tutorial with a little anchor and I go over basically all of the options in the cell shader all of the basic options but I'll go a little bit in depth with just the shadow part of it and how I apply shadows to illuminate objects so let's go and jump into a cinema 4d alright so this is gonna be really really quick here so I have the scene set up I'm going to turn on interactive render region here real quick so you can see what I got just some line art style of a Polaroid here Polaroid camera and what we're gonna do is I have a plane here that is just my ground plane here and if I go to my side view you can see that my plane is right below my object here so this is this is gonna have a completely luminance material on top of it so a lot of people ask how can you cast shadows onto something that is completely luminance so if we go ahead and add a I like to use an infinite like it's just a very straight it acts like a sunlight basically and I'm just going to position this up here and basically you're just kind of pointing this infinite light like the Sun where it's gonna be pointing at I'm just gonna give it a slight angle here and then I'm gonna turn on hard shadows because we're dealing with hard edges and that makes sense to have a hard edge shadow as well and you'll see that of course there's no shadows being cast because everything is an alumina as illuminant Tyrael 100% luminance Oh nothing's gonna get cast on that cuz it's almost like casting a light on or a shadow on a light you're not gonna it's not gonna happen so what we want to do is when you have an illuminated object and we want to cast a shadow of this polaroid camera onto this plane here we need to go in go in adjust and apply a cel shader on to us you can find under sketching toon cell and then what that's gonna do is gonna apply a crazy blue texture on here by default and what we can do is just get rid of these blue textures and bring back that kind of tan texture or what you can do is adjust these so what what this is just your diffuse and what you want to do is adjust this to have two shades because you want a shade of just your normal color that'll be pure white and then whatever shade you want your shadow to be and right now we have camera set on which means that a camera is gonna act as the lumination source and we want to turn that off what we want to do is use this light so we can use the light to cast shadows by just checking on this lights option and then it's gonna make everything all bright and then what we need to do is actually enable shadows because we want shadows applied as well and automatically you'll see that that will enable this shadow option up here and for right now that we don't need a tritone kind of color for our shadow we just either need it light with no shadow 100% white which will be no shadow or dark where it's a hundred percent shadow since we're dealing with a flat scene here we just need this kind of like tinted two-tone kind of treatment so anything so everything without shadow will be white everything with shadow will be dark and this is kind of like this threshold but since we're dealing with a flat surface you really can't tell the difference so you can see that we have a shadow cast and I'm just gonna move this down here and I can go to my light and by adjusting the angle of this infinite light will affect our shadow here so if I have it at a very sharp angle that will actually who's our shadow all together and that'll bring it back or if we have our light source kind of just going angled straight down you can see we get a shorter shadow and actually like that I like just a short shadow just underneath it and you can see that the color of the shadow matches the darker color of our diffuse and again this is kind of like the threshold of where these colors are applied on your geometry and again we're dealing with a flat surface so it really doesn't matter all you need to know is that whatever's this darker color will be the color of the shadow so if I want say a crazy orange color of my shadow I'll just change that diffuse color and there we go and if I want the lighter part of our shadow or if the lighter part of our scene that's not having any shadow cast on it to be this crazy green I can do that as well so basically this just to diffuse the color of your object in the darker color or the color to the left here will be your shadow so I will undo that that's a little too nuts I just want this just nice kind of gray maybe we could make this a little bit cream-colored shadow here just something subtle that looks pretty good maybe a little darker there we go so diffuse controls the color of your shadow enabling shadow enable shadow and you can play with all these other values here as well so this value if you go to mode value the thing that's controlling the color of the shadow is actually this color right here and that is just the grayscale value so using a color doesn't really work so it's just a grayscale value of your shadow so I just like to stick with normal for this because then you can actually choose the color so that is basically it so again we have a light set to hard shadows and I like to use infinite lights because it's a nice kind of 2d shadow you can see if I choose like a spot light or something like that we get this circle which doesn't work very well so infinite light hard shadow and we apply a cell shader material onto the surface that we want to have a shadow cast onto it and we make sure that we have shadow enabled lights enabled in mode set to normal and you can set your colors here so hopefully that clears everything up as far as being able to apply shadows or cast shadows onto a hundred percent luminous objects and there you go if you have any questions let me know and as always thank you for watching see you next time
Info
Channel: eyedesyn
Views: 25,672
Rating: undefined out of 5
Keywords: Animation, cinema 4d, c4d, tutorial, cinema 4d tutorial, cel shader, line art, cinema 4d tut, c4d tut, cinema 4d sketch and toon, sketch and toon, cel shading, cinema4d, c4d tutorial, sketch and toon tutorial, sketch & toon tutorial, cel animation, mograph, motion graphics, eyedesyn, shadow catching, shadow catching tutorial, 2d tutorial
Id: SaB3wOgcwJE
Channel Id: undefined
Length: 7min 20sec (440 seconds)
Published: Thu Feb 12 2015
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.