diff options
author | Thomas Dinges <blender@dingto.org> | 2013-06-16 20:08:11 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2013-06-16 20:08:11 +0400 |
commit | a841813cd9154ba952f27cf0a43fa24a5ea946ca (patch) | |
tree | f3ab10b14c136d0597a4f73301c5857d3e3681a9 /intern/cycles/render/nodes.h | |
parent | 04295954408db25e749a897a7db2972049005688 (diff) |
Cycles / Blackbody node:
* Replaced the Brute Force version with a nice lookup table, this speeds it up a lot.
Patch by Philipp Oeser (lichtwerk) with some cleanup and changes by myself. Thanks!
ToDo:
* Temperature values between 800 and 804 Kelvin are wrong in SVM, check on this.
Diffstat (limited to 'intern/cycles/render/nodes.h')
-rw-r--r-- | intern/cycles/render/nodes.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/cycles/render/nodes.h b/intern/cycles/render/nodes.h index 843e6c1c153..8266e9dec88 100644 --- a/intern/cycles/render/nodes.h +++ b/intern/cycles/render/nodes.h @@ -465,6 +465,8 @@ public: class BlackbodyNode : public ShaderNode { public: SHADER_NODE_CLASS(BlackbodyNode) + + bool has_converter_blackbody() { return true; } }; class MathNode : public ShaderNode { |