Cycles: add some volume nodes, they don't actually do anything, this is just

to give other developers who may want to work on this to get a starting point.
This commit is contained in:
Brecht Van Lommel
2011-09-27 20:03:16 +00:00
parent f5b60afe4e
commit 136d27b350
16 changed files with 379 additions and 36 deletions

View File

@@ -184,6 +184,9 @@ __device_noinline void svm_eval_nodes(KernelGlobals *kg, ShaderData *sd, ShaderT
case NODE_CLOSURE_HOLDOUT:
svm_node_closure_holdout(sd, stack, node);
break;
case NODE_CLOSURE_VOLUME:
svm_node_closure_volume(kg, sd, stack, node, path_flag);
break;
case NODE_CLOSURE_SET_WEIGHT:
svm_node_closure_set_weight(sd, node.y, node.z, node.w);
break;