Make LightPath::new() harder to mis-use.
This commit is contained in:
parent
b776bf56b8
commit
c0a8c955c4
|
@ -404,7 +404,7 @@ impl LightPath {
|
||||||
event: LightPathEvent::CameraRay,
|
event: LightPathEvent::CameraRay,
|
||||||
bounce_count: 0,
|
bounce_count: 0,
|
||||||
|
|
||||||
sampling_seed: sampling_seed,
|
sampling_seed: sampling_seed ^ 0x40d4682b,
|
||||||
pixel_co: pixel_co,
|
pixel_co: pixel_co,
|
||||||
sample_number: sample_number,
|
sample_number: sample_number,
|
||||||
dim_offset: 0,
|
dim_offset: 0,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user