Brightness/Contrast Node for Cycles
[blender.git] / intern / cycles / kernel / svm / svm.h
index d22c9181a84e091886fa8929048ab12eba5991d5..f1bae9c8d9f9f88dcc24f29fa6a2640825ddf520 100644 (file)
@@ -131,6 +131,7 @@ CCL_NAMESPACE_END
 #include "svm_hsv.h"
 #include "svm_image.h"
 #include "svm_gamma.h"
+#include "svm_brightness.h"
 #include "svm_invert.h"
 #include "svm_light_path.h"
 #include "svm_magic.h"
@@ -270,6 +271,9 @@ __device_noinline void svm_eval_nodes(KernelGlobals *kg, ShaderData *sd, ShaderT
                        case NODE_GAMMA:
                                svm_node_gamma(sd, stack, node.y, node.z, node.w);
                                break;
+                       case NODE_BRIGHTCONTRAST:
+                               svm_node_brightness(sd, stack, node.y, node.z, node.w);
+                               break;
                        case NODE_MIX:
                                svm_node_mix(kg, sd, stack, node.y, node.z, node.w, &offset);
                                break;