Cycles / Non-Progressive integrator:

* Avoid check for !LABEL_TRANSPARENT in "kernel_path_non_progressive_lighting", transparency is either handled in the outer loop or in the "kernel_path_indirect" function, but not here.
This commit is contained in:
Thomas Dinges
2013-07-30 12:56:39 +00:00
parent f7169cd47d
commit 3d57740a38

View File

@@ -925,10 +925,7 @@ __device_noinline void kernel_path_non_progressive_lighting(KernelGlobals *kg, R
path_radiance_bsdf_bounce(L, &tp, &bsdf_eval, bsdf_pdf, state.bounce, label);
/* set labels */
float min_ray_pdf = FLT_MAX;
if(!(label & LABEL_TRANSPARENT))
min_ray_pdf = fminf(bsdf_pdf, min_ray_pdf);
float min_ray_pdf = fminf(bsdf_pdf, FLT_MAX);
/* modify path state */
PathState ps = state;