Block a user
76d2609896
Fix division by zero
a3b883bf59
Add options to check sample visibility
fc3b69435a
Add option to use ReSTIR
f7b9351840
Fix crash without light tree
48d5db3081
Cycles: Implement blue-noise dithered sampling
636b7254e5
Add spatial resampling
68cc87d9ba
Refactor: make restir an init function
758481d375
Cleanup: comments, change function parameters, split reservoir and sd
89a12ead7d
Refactor: move 1/pdf to weight instead of a multiplicator of radiance
3a26a601f4
Remove ReSTIR from megakernel
Cleanup: various cleanups in Cycles kernel
8e5840359f
Refactor: deduplicate assignment of background light group
a6330cad7f
Refactor: wrap block of codes into a function
45d2e46752
Cleanup: remove unnecessary shader flag in Chiang Hair BSDF
481b50e06d
Cleanup: pass shader flag as parameter instead of ShaderData
2e1380fa0c
Cleanup: use available function to compute render buffer pointer
cbaf9e0eb8
Refactor: deduplicate assignment of background light group
654801a6b8
Refactor: wrap block of codes into a function
f09ab0fe7b
Cleanup: remove unnecessary shader flag in Chiang Hair BSDF
858de3f393
Cleanup: pass shader flag as parameter instead of ShaderData
bbdd8f422c
Cleanup: use available function to compute render buffer pointer
Cleanup: various cleanups in Cycles kernel
Ah, this is my oversight.
In main the logic of direct_light_sampling_type
is that whichever option you set, it should converge to the same result. So even if you choose forward sampling and the…
Cleanup: various cleanups in Cycles kernel
I removed the # ifdef __HAIR__
case here. It should be fine to check (sd->type & PRIMITIVE_TRIANGLE)
even when __HAIR__
is not defined?
981734fe3e
Refactor: deduplicate assignment of background light group
b42bd4829b
Refactor: wrap block of codes into a function
14081b1564
Cleanup: remove unnecessary shader flag in Chiang Hair BSDF
Cleanup: various cleanups in Cycles kernel
6439f33848
Refactor: deduplicate assignment of background light group
ac3163f2fc
Refactor: wrap block of codes into a function
251ddc83a7
Cleanup: remove unnecessary shader flag in Chiang Hair BSDF
ebc1067209
Cleanup: pass shader flag as parameter instead of ShaderData
60f0b5907b
Cleanup: use available function to compute render buffer pointer
Cycles: Add thin film iridescence to Principled BSDF
I did not test this PR thoroughly, just had a first pass. I believe some points in you PR description is outdated, please update them.