Cycles: add dedicated UV Map node, easier to find and has convenient auto complete.
[blender.git] / intern / cycles / render / nodes.h
index 497a367a2a61db81004531dba8b971882b5233fc..31caf9507eb170ad5a921f9bbaddc870064481c2 100644 (file)
@@ -350,6 +350,15 @@ public:
        bool from_dupli;
 };
 
+class UVMapNode : public ShaderNode {
+public:
+       SHADER_NODE_CLASS(UVMapNode)
+       void attributes(Shader *shader, AttributeRequestSet *attributes);
+
+       ustring attribute;
+       bool from_dupli;
+};
+
 class LightPathNode : public ShaderNode {
 public:
        SHADER_NODE_CLASS(LightPathNode)