diff options
Diffstat (limited to 'intern/cycles/render/nodes.h')
-rw-r--r-- | intern/cycles/render/nodes.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/intern/cycles/render/nodes.h b/intern/cycles/render/nodes.h index 5e357cff56c..8012a99ff05 100644 --- a/intern/cycles/render/nodes.h +++ b/intern/cycles/render/nodes.h @@ -26,7 +26,7 @@ CCL_NAMESPACE_BEGIN class ImageManager; -class Shadr; +class Shader; /* Texture Mapping */ @@ -220,6 +220,8 @@ public: class TransparentBsdfNode : public BsdfNode { public: SHADER_NODE_CLASS(TransparentBsdfNode) + + bool has_surface_transparent() { return true; } }; class VelvetBsdfNode : public BsdfNode { @@ -255,6 +257,8 @@ class EmissionNode : public ShaderNode { public: SHADER_NODE_CLASS(EmissionNode) + bool has_surface_emission() { return true; } + bool total_power; }; |