CameraData Input Cycles Node

----------------------------
reviewed and approved by Brecht 

Important note:
the camera Z is reverted compared to Blender render.
Now it goes from zero (camera) to positive (in front of the camera)
This commit is contained in:
Dalai Felinto
2011-12-02 20:36:13 +00:00
parent 1768a96774
commit 78495ddf32
11 changed files with 124 additions and 3 deletions

View File

@@ -315,6 +315,11 @@ public:
ustring attribute;
};
class CameraNode : public ShaderNode {
public:
SHADER_NODE_CLASS(CameraNode)
};
class FresnelNode : public ShaderNode {
public:
SHADER_NODE_CLASS(FresnelNode)