Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/kernel/kernel_accumulate.h
| Show First 20 Lines • Show All 449 Lines • ▼ Show 20 Lines | if(state->flag & PATH_RAY_STORE_SHADOW_INFO) { | ||||
| if(state->flag & PATH_RAY_SHADOW_CATCHER) { | if(state->flag & PATH_RAY_SHADOW_CATCHER) { | ||||
| return; | return; | ||||
| } | } | ||||
| } | } | ||||
| #endif | #endif | ||||
| #ifdef __PASSES__ | #ifdef __PASSES__ | ||||
| if(L->use_light_pass) { | if(L->use_light_pass) { | ||||
| if(state->bounce == 0) | if(state->flag & PATH_RAY_TRANSPARENT_BACKGROUND) | ||||
| L->background += throughput*value; | L->background += throughput*value; | ||||
| else if(state->bounce == 1) | else if(state->bounce == 1) | ||||
| L->direct_emission += throughput*value; | L->direct_emission += throughput*value; | ||||
| else | else | ||||
| L->indirect += throughput*value; | L->indirect += throughput*value; | ||||
| } | } | ||||
| else | else | ||||
| #endif | #endif | ||||
| ▲ Show 20 Lines • Show All 301 Lines • Show Last 20 Lines | |||||