diff options
Diffstat (limited to 'intern/cycles/render/film.cpp')
-rw-r--r-- | intern/cycles/render/film.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/intern/cycles/render/film.cpp b/intern/cycles/render/film.cpp index b23678dea44..93b29ed90a9 100644 --- a/intern/cycles/render/film.cpp +++ b/intern/cycles/render/film.cpp @@ -151,6 +151,10 @@ void Pass::add(PassType type, vector<Pass>& passes) pass.components = 1; pass.exposure = false; break; + case PASS_RAY_BOUNCES: + pass.components = 1; + pass.exposure = false; + break; #endif } @@ -399,6 +403,9 @@ void Film::device_update(Device *device, DeviceScene *dscene, Scene *scene) case PASS_BVH_TRAVERSAL_STEPS: kfilm->pass_bvh_traversal_steps = kfilm->pass_stride; break; + case PASS_RAY_BOUNCES: + kfilm->pass_ray_bounces = kfilm->pass_stride; + break; #endif case PASS_NONE: |