Commit: 4b56eed0f786562dfe961e23091f4f20c16a9e90 Author: Brecht Van Lommel Date: Fri Nov 5 20:24:13 2021 +0100 Branches: blender-v3.0-release https://developer.blender.org/rB4b56eed0f786562dfe961e23091f4f20c16a9e90
Fix T92566: Cycles distant lights too dim in reflections =================================================================== M intern/cycles/kernel/light/light.h =================================================================== diff --git a/intern/cycles/kernel/light/light.h b/intern/cycles/kernel/light/light.h index 746c7747569..2e7f862a715 100644 --- a/intern/cycles/kernel/light/light.h +++ b/intern/cycles/kernel/light/light.h @@ -353,8 +353,8 @@ ccl_device bool light_sample_from_distant_ray(KernelGlobals kg, /* compute pdf */ float invarea = klight->distant.invarea; ls->pdf = invarea / (costheta * costheta * costheta); - ls->pdf *= kernel_data.integrator.pdf_lights; ls->eval_fac = ls->pdf; + ls->pdf *= kernel_data.integrator.pdf_lights; return true; } _______________________________________________ Bf-blender-cvs mailing list [email protected] List details, subscription details or unsubscribe: https://lists.blender.org/mailman/listinfo/bf-blender-cvs
