Fix incorrect background color handling in glossy reflections.
Bug introduced in the previous refector removing the LightPath struct.
This commit is contained in:
parent
77ac8ef9f2
commit
9569f772f0
|
@ -500,7 +500,8 @@ fn trace_camera_light_path(
|
|||
.background_color
|
||||
.to_spectral_sample(ray.wavelength)
|
||||
.e
|
||||
* mis_pdf;
|
||||
* attenuation
|
||||
/ mis_pdf;
|
||||
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user