Toon shading model

Thanks!

A full custom shading model might indeed get quite complex. Maybe you could provide a number of preset methods to handle those special case lights while providing full control over the easier to understand regular light handling? I think that should be enough for most use-cases, while not being too complicated for the user.

Regarding a “Remapped Shading Model”: that would indeed work for case. The only thing I’m not sure about would be mobile, which would be a shame as NPR visuals tend to be quite common in mobile games. You would lose one of the already scarce texture samplers and I’m not sure you wouldn’t get texture filtering artifacts due to lower precision combined with the high contrast lookup textures that would be needed for toon shading.