Cartoon shader improvements

Thank you for the links! There could be some useful stuff in there. :slight_smile:

Ah, I see. Well, I look forward to seeing what comes of it. :slight_smile:

Ah, fair enough; I’ll confess that some of the restrictions inherent in shaders can be frustrating sometimes (such as discovering that–on my machine, at least–variable array indexing isn’t allowed). :confused:

Thank you for pointing out this particular issue, by the way: my pencil shader uses nested if-statements at one point, which I now may want to change.