Cycles/EEVEE: change point light to double-sided sphere light #108506

Merged
Weizhen Huang merged 18 commits from weizhen/blender:point_light_to_sphere_light into main 2023-06-20 12:23:12 +02:00
1 changed files with 0 additions and 1 deletions
Showing only changes of commit bb7817232e - Show all commits

View File

@ -155,7 +155,6 @@ ccl_device_forceinline bool point_light_tree_parameters(const ccl_global KernelL
ccl_private float3 &point_to_centroid)
{
if (in_volume_segment) {
/* TODO: does this still hold? */
cos_theta_u = 1.0f; /* Any value in [-1, 1], irrelevant since theta = 0 */
return true;
}