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
This commit is contained in:
@@ -259,6 +259,14 @@ public:
|
||||
static ShaderEnum distribution_enum;
|
||||
};
|
||||
|
||||
class ToonBsdfNode : public BsdfNode {
|
||||
public:
|
||||
SHADER_NODE_CLASS(ToonBsdfNode)
|
||||
|
||||
ustring component;
|
||||
static ShaderEnum component_enum;
|
||||
};
|
||||
|
||||
class SubsurfaceScatteringNode : public BsdfNode {
|
||||
public:
|
||||
SHADER_NODE_CLASS(SubsurfaceScatteringNode)
|
||||
|
Reference in New Issue
Block a user