Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/kernel/integrator/shade_volume.h
| Show First 20 Lines • Show All 1,018 Lines • ▼ Show 20 Lines | #ifdef __VOLUME__ | ||||
| else if (event == VOLUME_PATH_MISSED) { | else if (event == VOLUME_PATH_MISSED) { | ||||
| /* End path. */ | /* End path. */ | ||||
| INTEGRATOR_PATH_TERMINATE(DEVICE_KERNEL_INTEGRATOR_SHADE_VOLUME); | INTEGRATOR_PATH_TERMINATE(DEVICE_KERNEL_INTEGRATOR_SHADE_VOLUME); | ||||
| return; | return; | ||||
| } | } | ||||
| else { | else { | ||||
| /* Continue to background, light or surface. */ | /* Continue to background, light or surface. */ | ||||
| integrator_intersect_next_kernel_after_volume<DEVICE_KERNEL_INTEGRATOR_SHADE_VOLUME>( | integrator_intersect_next_kernel_after_volume<DEVICE_KERNEL_INTEGRATOR_SHADE_VOLUME>( | ||||
| kg, state, &isect); | kg, state, &isect, render_buffer); | ||||
| return; | return; | ||||
| } | } | ||||
| #endif /* __VOLUME__ */ | #endif /* __VOLUME__ */ | ||||
| } | } | ||||
| CCL_NAMESPACE_END | CCL_NAMESPACE_END | ||||