Cindy Suen (cindysuen)

2 answers · asked · Lesson: Caustics & Pool Demo · Course: Shader Forge

Flat toon shading node set up?

Hi Kent - thank you for these videos! They've been so helpful! I've been trying to figure out how do a flat toon shading with 3 colors, but there doesn't seem to be flat toon shading in this shading forge course and I can't figure it out, so would like to ask if you have a node setup for this? 

Ideally, I would like the object to have one main color, and then with a shadow color and a highlight color. The colors should be a hard line against each other, so no gradient between them. It would also be nice to have the object cast a one color shadow with a hard line on the ground plane too. Here are some inspirations I'm aiming for:

Do you have a node set up that can achieve this? 

Thank you so much for your help Kent!