Block a user
Cycles: Add thin film iridescence to Principled BSDF
WI think we could default to the IOR of water, which is 1.33.
Cycles: Add thin film iridescence to Principled BSDF
I believe we should trust fresnel_dielectric_polarized()
instead of checking TIR before calling the function.
Cycles: Add thin film iridescence to Principled BSDF
This function is almost identical as fresnel_dielectric()
except for the phase computation, would it be practical to reuse that function? The phase computation could then be:
7e0ff553da
Refactor: make restir an init function
5d56337f80
Cleanup: comments, change function parameters, split reservoir and sd
b1f3649604
Refactor: move 1/pdf to weight instead of a multiplicator of radiance
e49376f06d
Remove ReSTIR from megakernel
4c775a220c
Fix function parameter difference in declaration and definition
10c002349e
Fix point light zero radius
ls->t
not written
aef5054931
Read reservoir in a second pass
b8c8f63c19
Fix: point light
t
and P
not written
2942e4b8cf
Refactor: write to reservoir only when it is direct illumination
2a8c152aae
Cleanup: split
restir.h
and reservoir.h
2ee468d2ed
Also support point light
c500227a4e
Refactor: shuffle some code around in Cycles light
1204a8647b
Write ShaderData to render buffer and render later
4ad690abe6
Refactor: wrap block of codes into functions
8e3b141756
Cleanup: remove unused parameters
15956e6ddc
Cleanup: reduce code duplication in forward MIS weight
3b635cdb95
Recover Area Light Sample from uv
870c8a4663
Cleanup: reduce code duplication in forward MIS weight
e862781340
Cleanup: remove unnecessary shader flag in Chiang Hair BSDF
cc0ff8ec06
Cleanup: pass shader flag as parameter instead of ShaderData
23bd7fd552
Cleanup: use available function to compute render buffer pointer
b7f8006bb8
Cleanup: reduce code duplication in surface MIS
d1b89f826c
Cleanup: remove unnecessary shader flag in Chiang Hair BSDF
787548e7b3
Cleanup: pass shader flag as parameter instead of ShaderData
f1b7065fbb
Cleanup: use available function to compute render buffer pointer
0a1debb13d
Cleanup: reduce code duplication in surface MIS
65b38942b0
Cleanup: remove unused function parameters