Cycles: add Ray Length output to Light Path node. This gives the distance travelled
[blender.git] / intern / cycles / kernel / svm / svm_types.h
index fa7c211b5f9f0865685e0308cef93d591acae49a..8037c3964a97ba194fbc7122aa65311de18c5697 100644 (file)
@@ -115,7 +115,8 @@ typedef enum NodeLightPath {
        NODE_LP_singular,
        NODE_LP_reflection,
        NODE_LP_transmission,
-       NODE_LP_backfacing
+       NODE_LP_backfacing,
+       NODE_LP_ray_length
 } NodeLightPath;
 
 typedef enum NodeTexCoord {