Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2013-06-13 12:55:51 +0400
committerThomas Dinges <blender@dingto.org>2013-06-13 12:55:51 +0400
commitd523d27e621f92c2fd9cb53f9dbbb62750bacc2c (patch)
tree9233a7d9810a1877958433d4771e50c8e2692d13 /intern/cycles/render/nodes.h
parent182914873a13485a7b8d7b85884c655fccdefa48 (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.h5
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)