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:
authorDalai Felinto <dfelinto@gmail.com>2011-12-17 00:35:06 +0400
committerDalai Felinto <dfelinto@gmail.com>2011-12-17 00:35:06 +0400
commit2a6fdbcccdb285664d921d59f66f96d0345124de (patch)
tree3d7b8d41a05318d43821efe43548ac8df5162d78 /intern/cycles/render/nodes.h
parent3311164b24da61f2967f96d0ee27508a7e2e0267 (diff)
Cycles Gamma Node
Node specially useful for Texture correction. This is also a nice example of a simple node made from scratch in case someone wants to create their custom nodes. Review by Brecht.
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 9d947de1af5..28fff22fc34 100644
--- a/intern/cycles/render/nodes.h
+++ b/intern/cycles/render/nodes.h
@@ -302,6 +302,11 @@ public:
SHADER_NODE_CLASS(CombineRGBNode)
};
+class GammaNode : public ShaderNode {
+public:
+ SHADER_NODE_CLASS(GammaNode)
+};
+
class SeparateRGBNode : public ShaderNode {
public:
SHADER_NODE_CLASS(SeparateRGBNode)