EEVEE: change Principled BSDF to match Cycles #111754

Merged
Weizhen Huang merged 8 commits from weizhen/blender:eevee-principled into main 2023-09-01 11:28:19 +02:00

8 Commits

Author SHA1 Message Date
Weizhen Huang 4c8ef9fd36 Merge branch 'main' into eevee-principled 2023-09-01 11:03:01 +02:00
Weizhen Huang d6d934fcf9 Emission is already attentuated 2023-08-31 22:47:41 +02:00
Weizhen Huang 49506f3506 Use averaged color for closure weight 2023-08-31 21:13:48 +02:00
Weizhen Huang 8830a36156 Use `float` instead of `bool` for function argument 2023-08-31 20:20:14 +02:00
Clément Foucault fa9adaaa42 Use weight instead of remaining weight 2023-08-31 20:11:39 +02:00
Clément Foucault e0db7ac300 Fix missing forward declaration 2023-08-31 20:10:10 +02:00
Weizhen Huang 03d374423d EEVEE: change Principled BSDF to match Cycles 2023-08-31 18:09:24 +02:00
Weizhen Huang 80fd0d6874 EEVEE: change Glass BSDF behaviour to match Cycles
changes include:
* Use microfacet normal instead of macronormal. Previously Cycles used
macronormal for Glass BSDF and Transmission component in Principeld
BSDF, leading to velvet-like artefacts at grazing angles. This has been
corrected in 5f9b518a8b and 89218b66c2. Now change EEVEE to match this
behaviour.
* GGX distribution is now darker due to the shadowing-masking term,
while Multiscatter GGX preserves energy as before. This now matches
Cycles too.
2023-08-31 18:09:24 +02:00