diff options
author | Thomas Dinges <blender@dingto.org> | 2013-06-13 12:55:51 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2013-06-13 12:55:51 +0400 |
commit | d523d27e621f92c2fd9cb53f9dbbb62750bacc2c (patch) | |
tree | 9233a7d9810a1877958433d4771e50c8e2692d13 /intern/cycles/render/nodes.h | |
parent | 182914873a13485a7b8d7b85884c655fccdefa48 (diff) |
Cycles / Blackbody node:
* First step towards a Blackbody to RGB converter. You can specify a color in Kelvin inside the node.
* Only implemented for OSL atm, SVM will follow.
Diffstat (limited to 'intern/cycles/render/nodes.h')
-rw-r--r-- | intern/cycles/render/nodes.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/intern/cycles/render/nodes.h b/intern/cycles/render/nodes.h index f19e0742906..843e6c1c153 100644 --- a/intern/cycles/render/nodes.h +++ b/intern/cycles/render/nodes.h @@ -462,6 +462,11 @@ public: SHADER_NODE_CLASS(WavelengthNode) }; +class BlackbodyNode : public ShaderNode { +public: + SHADER_NODE_CLASS(BlackbodyNode) +}; + class MathNode : public ShaderNode { public: SHADER_NODE_CLASS(MathNode) |