Updated version of irie's Cycles OSL toon shader, working on Blender 2.78 and 2.79
Example of toon shader for Cycles + OSL.
This includes two OSL scripts:
Toon shader using diffuse_toon() and specular_toon() closures Single sided black surface used for toon edge You can see some test videos in Youtube:
http://www.youtube.com/watch?v=WcQFs1opokI
http://www.youtube.com/watch?v=coYggqUHwDc
Hey Im trying to run the scripts is there any documentation on how to use these shaders? Im running the scripts and all i get is invalid syntax errors???
Black in 2.79, any ideas? It has no compilation errors at all.
@HollowGraphic Perhaps check if you have GPU rendering on. OSL scripts only work in CPU rendering.
In the" Properties" area, go to the "Render" tab, in the "Render" dropdown, under "Device:" change it to CPU and ensure "Open Shading Language" is checked on.
This is awesome! Love it.
Is there any way to thicken the outlines or make them another color? (I'm trying to go for a low sat dark purple outline)
Great job, but for anyone looking to modify and recompile this script, note that in the "else" statement under the skin shader, "glossytoon" needs to be changed to "glossy_toon".
I found playjonny when I was reading an article about entertainment trends across Europe. Someone mentioned it as a fun way to spend a quiet evening, so I decided to see for myself. The poker section was what grabbed me — I’ve always enjoyed games that mix chance and strategy. My first few hands didn’t go great, but I slowly got the hang of it. Then came that one perfect round that changed everything. It wasn’t about the money, really — it was just that satisfying rush when patience pays off.
Ich suchte einfach ein Casino, das nicht kompliziert ist, aber viele Spiele bietet. Auf https://win-aura.ch fand ich strukturierte Kategorien und viele Angebote für Spieler in der Schweiz, die übersichtlich erklärt waren. Ich mochte, dass nichts versteckt war und dass man leicht durch das Menü gehen kann. Es fühlte sich sauber und angenehm an, genau das was ich wollte.
You're a saviour. Thank you so much.