Wow, thanks for sharing! I managed to recreate what you did with good results:) But how did you remove the gradient from the shadows? I get the cels but the shadow is still gradient:
Here’s the cel texture I’m using:
I tried using cel textures with shorter shadows, but it hit a point where it started to show strange artifacts in the shadows and it still hadn’t reached where the gradient appeared.
The shadows seems to be cel shaded too for some reason. Looking at your picture I can see that your shadow looks fine. Here’s how mine looks:
I’ve tried rebuilding the lighting, but it just makes the edges of the cels crisper.
Thanks again for sharing your shader and I hope you can help me with these problems:)
Edit: Discared the last part about the shadows on the ground. It was as a result of me having turned on Cascaded shadow maps. I still need to figure out how to increase the range of the dynamic shadows. Still have the problem with the gradient on the shadows though.