pex-renderer icon indicating copy to clipboard operation
pex-renderer copied to clipboard

Add energy compensation

Open dmnsgn opened this issue 6 years ago • 7 comments

dmnsgn avatar Apr 26 '19 14:04 dmnsgn

To be precise i mean multiscatter ggx preventing loosing energy from IBL for metallic materials

This is tested using Furnace Test with pure white environment map. As you can see rough material on the right is darker than glossy on the left.

Screenshot 2019-04-25 at 16 47 41

vorg avatar Apr 26 '19 15:04 vorg

Examples here https://doc.babylonjs.com/how_to/physically_based_rendering_master#energy-conservation

vorg avatar May 01 '19 08:05 vorg

Original (?) source of discussion https://eheitzresearch.wordpress.com/240-2/

multiplescatteringsmith_res1

Excellent explanation of math https://patapom.com/blog/BRDF/MSBRDFEnergyCompensation/

Screenshot 2019-08-06 at 14 05 57

ThreeJS PR https://github.com/mrdoob/three.js/pull/15644

51778960-5d6d6600-20b9-11e9-9311-ca8b060dc8fe

Filament implementation https://google.github.io/filament/Filament.md.html#materialsystem/improvingthebrdfs/energylossinspecularreflectance

Screenshot 2019-08-06 at 14 22 39

vorg avatar Aug 06 '19 13:08 vorg