EEVEE-Next: Add horizon scan to raytracing module #114259

Merged
Clément Foucault merged 51 commits from fclem/blender:eevee-next-horizon-gi into main 2023-11-21 16:24:23 +01:00

51 Commits

Author SHA1 Message Date
Clément Foucault e77743c208 Remove number of samples used for debugging 2023-11-20 21:11:52 +01:00
Clément Foucault 5863d8a085 Merge branch 'main' into eevee-next-horizon-gi
buildbot/vexp-code-patch-coordinator Build done. Details
# Conflicts:
#	source/blender/blenloader/intern/versioning_400.cc
#	source/blender/draw/engines/eevee_next/shaders/eevee_horizon_scan_eval_lib.glsl
2023-11-20 21:03:07 +01:00
Clément Foucault 6e7a0161a1 Lower default max roughness for tracing 2023-11-20 20:58:38 +01:00
Clément Foucault 944f0009f8 Avoid loosing energy from backfacing geometry 2023-11-20 20:49:55 +01:00
Clément Foucault 1e32e2e60c Add slice weight accumulation WIP 2023-11-20 19:39:02 +01:00
Clément Foucault 55e6276dee Fix compilation on Metal 2023-11-02 23:47:28 +01:00
Clément Foucault 9c0b3e6bee Merge branch 'eevee-next-horizon-scan' into eevee-next-horizon-gi
buildbot/vexp-code-patch-coordinator Build done. Details
2023-11-02 20:26:42 +01:00
Clément Foucault b24c4a71a3 Merge branch 'main' into eevee-next-horizon-scan 2023-11-02 20:26:28 +01:00
Clément Foucault ff23d6cbd9 Add max roughness prop
buildbot/vexp-code-patch-coordinator Build done. Details
2023-11-02 20:22:04 +01:00
Clément Foucault 3939d89cb1 Revert to lambertian BSDF for reflective surfaces 2023-11-02 19:23:46 +01:00
Clément Foucault b5539e32ae Merge branch 'eevee-next-horizon-scan' into eevee-next-horizon-gi
# Conflicts:
#	source/blender/draw/engines/eevee_next/shaders/eevee_ambient_occlusion_pass_comp.glsl
2023-11-02 19:02:57 +01:00
Clément Foucault 8a8a30cc5b Merge branch 'main' into eevee-next-horizon-scan
buildbot/vexp-code-patch-coordinator Build done. Details
# Conflicts:
#	source/blender/blenloader/intern/versioning_400.cc
2023-11-02 18:45:40 +01:00
Clément Foucault 970cccb478 Adress review 2023-11-02 18:44:24 +01:00
Clément Foucault 07452fb05c Cleanup and move 2Pi factor out of sampling loop 2023-11-02 18:38:41 +01:00
Clément Foucault ca6de2db58 Fix a few issues 2023-11-02 17:03:05 +01:00
Clément Foucault 8dba3bb625 Move clamping to setup phase to do it once per pixel 2023-11-02 16:25:40 +01:00
Clément Foucault baf13fa53a Fix NaN on low roughness 2023-11-02 16:25:16 +01:00
Clément Foucault 5c72eb1a7e Add luma clamp and use LOD1 as first LOD for tracing 2023-11-02 16:13:17 +01:00
Clément Foucault 0f64a7e141 Add setup pass 2023-11-02 16:06:25 +01:00
Clément Foucault ec2a78e51e Fix light leak and intensity 2023-11-01 20:11:24 +01:00
Clément Foucault 8214366e3f Fix energy losses 2023-11-01 17:54:32 +01:00
Clément Foucault 36a97f2570 Add back distant radiance 2023-11-01 17:54:29 +01:00
Clément Foucault 954e57ac14 Fix denoising 2023-11-01 17:54:23 +01:00
Clément Foucault 831ef7bcf5 Add denoising pass 2023-11-01 16:02:19 +01:00
Clément Foucault 6951840684 Dispatch horizon at tracing resolution 2023-10-31 20:01:43 +01:00
Clément Foucault 8b18deae7e Make sure tiles are only traced if they are contributing to the final mix 2023-10-31 17:30:28 +01:00
Clément Foucault 406afdd6c1 Fix compilation issue 2023-10-30 14:41:18 +01:00
Clément Foucault 5fba4c84b7 Add distant light evaluation 2023-10-30 00:10:26 +01:00
Clément Foucault efeeb80bfc EEVEE-Next: Add horizon scan to raytracing module 2023-10-29 01:46:36 +02:00
Clément Foucault dfc6903c39 Cleanup comments 2023-10-25 22:12:32 +02:00
Clément Foucault 85e1a076e6 Cleanup AO shader 2023-10-25 21:33:10 +02:00
Clément Foucault 2c2f531c3c Fix wrong Ray type
buildbot/vexp-code-patch-coordinator Build done. Details
2023-10-25 21:27:47 +02:00
Clément Foucault d1c94992f0 Add correct sphere intersection 2023-10-25 20:59:21 +02:00
Clément Foucault b42bda414b Add bias option 2023-10-25 19:48:00 +02:00
Clément Foucault 34e6c95e92 Isolate segment clipping 2023-10-25 18:42:17 +02:00
Clément Foucault ac5815eb20 Refactor code and use correct ray bounds 2023-10-25 18:22:31 +02:00
Clément Foucault 3d6920cf67 Add versioning for thickness 2023-10-25 17:28:04 +02:00
Clément Foucault 659c8a070f Rename RNA memebers to horizon prefix 2023-10-25 17:20:10 +02:00
Clément Foucault 4e276516a8 Add proper test and split eval and lib functions 2023-10-25 17:12:27 +02:00
Clément Foucault 729c3d7ddb Merge branch 'main' into eevee-next-horizon-scan 2023-10-25 12:49:45 +02:00
Clément Foucault 1ef1a6da60 Cleanup 2023-10-25 11:22:42 +02:00
Clément Foucault 457467860b Rename some variable and add angular bias which fixes some self occlusion. 2023-10-24 21:34:30 +02:00
Clément Foucault e51aeb96f2 Rename thickness to global_thickness 2023-10-24 20:09:11 +02:00
Clément Foucault a0cb21fc4d Add correct rejection logic 2023-10-24 20:09:00 +02:00
Clément Foucault a2907b82de Add cosine weighted occlusion. Return color directly. 2023-10-24 19:54:39 +02:00
Clément Foucault 727486d471 Scale AO result by 1% to fight precision issues 2023-10-24 17:34:23 +02:00
Clément Foucault 047caa2c78 Add slope aware bias 2023-10-24 17:33:35 +02:00
Clément Foucault 90ae0ec090 Cleanup GLSL implementation 2023-10-23 23:17:40 +02:00
Clément Foucault 0035bb74ab Add thickness property 2023-10-23 22:56:50 +02:00
Clément Foucault 181aeaee9f Make visibility bitmask work 2023-10-23 02:19:50 +02:00
Clément Foucault 39c97c1450 Experiment by refactoring AO lib 2023-10-22 20:49:24 +02:00