From 99b325cebf41054f046d98a7dcf9aea74e165f56 Mon Sep 17 00:00:00 2001 From: Thomas Dinges Date: Thu, 23 May 2013 17:45:20 +0000 Subject: Cycles / Toon BSDF: * Added a toon bsdf node to Cycles. This was already available as OSL only closure, but is now available inside the SVM backed as well, for CPU and GPU rendering. * There are 2 variations available, diffuse and glossy toon, selectable via a menu inside the node. Documentation: http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/Shaders#Toon Example render & blend file: http://www.pasteall.org/pic/show.php?id=51970 http://www.pasteall.org/blend/21579 --- release/scripts/templates_osl/toon_closure.osl | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 release/scripts/templates_osl/toon_closure.osl (limited to 'release/scripts/templates_osl') diff --git a/release/scripts/templates_osl/toon_closure.osl b/release/scripts/templates_osl/toon_closure.osl deleted file mode 100644 index ccc381288d2..00000000000 --- a/release/scripts/templates_osl/toon_closure.osl +++ /dev/null @@ -1,12 +0,0 @@ - -shader node_toon_bsdf( - color Color = 0.8, - float Size = 0.5, - float Smooth = 0.0, - normal Normal = N, - output closure color Diffuse = 0, - output closure color Specular = 0) -{ - Diffuse = Color * diffuse_toon(Normal, Size, Smooth); - Specular = Color * specular_toon(Normal, Size, Smooth); -} \ No newline at end of file -- cgit v1.2.3