diff options
-rw-r--r-- | intern/cycles/render/nodes.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/cycles/render/nodes.h b/intern/cycles/render/nodes.h index 40fda070ec4..54a5220dcef 100644 --- a/intern/cycles/render/nodes.h +++ b/intern/cycles/render/nodes.h @@ -514,6 +514,9 @@ public: void compile(SVMCompiler& compiler, ShaderInput *param1, ShaderInput *param2); virtual int get_group() { return NODE_GROUP_LEVEL_1; } + virtual int get_feature() { + return ShaderNode::get_feature() | NODE_FEATURE_VOLUME; + } ClosureType closure; |