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-10 00:46:22 +0400
committerThomas Dinges <blender@dingto.org>2013-06-10 00:46:22 +0400
commitcf359f6c7f259bf669a144c9a455fe79780fc6ff (patch)
treebb3e2ce16b033d123fa3dd783a98da533c2c68bb /source/blender/blenkernel/BKE_node.h
parentcca324e468db471d7988a37e5804bc3f432160d6 (diff)
Cycles / Wavelength to RGB node:
* Added a node to convert wavelength (in nanometer, from 380nm to 780nm) to RGB values. This can be useful to match real world colors easier. Example render: http://www.pasteall.org/pic/show.php?id=53202 ToDo: * Move some functions into an util file, maybe a common util_color.h or so. * Test GPU, unfortunately sm_21 doesn't work for me yet.
Diffstat (limited to 'source/blender/blenkernel/BKE_node.h')
-rw-r--r--source/blender/blenkernel/BKE_node.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_node.h b/source/blender/blenkernel/BKE_node.h
index ef51abc419e..55f68fcb8bd 100644
--- a/source/blender/blenkernel/BKE_node.h
+++ b/source/blender/blenkernel/BKE_node.h
@@ -741,6 +741,7 @@ struct ShadeResult;
#define SH_NODE_SUBSURFACE_SCATTERING 177
#define SH_NODE_WIREFRAME 178
#define SH_NODE_BSDF_TOON 179
+#define SH_NODE_WAVELENGTH 180
/* custom defines options for Material node */
#define SH_NODE_MAT_DIFF 1