pex-gl / pex-shaders

MIT License
4 stars 0 forks source link

BRDF improvements #5

Open vorg opened 5 years ago

vorg commented 5 years ago

Clarify use of D_GGX and F_Schlick

dmnsgn commented 5 months ago

Our current BRDF model:

Layer Distribution (D) Visibility (V) Fresnel (F)
Specular isotropic D_GGX V_Smith_GGX_Correlated F_Schlick (f90 = 1)
Specular anisotropic (TODO) D_GGX_ANISOTROPIC V_GGX_ANISOTROPIC F_Schlick (f90 = 1)
Clearcoat D_GGX V_Neubelt F_Schlick (f0 = 0.04, f90 = 1)
Sheen D_Charlie V_Charlie F = 1

But we have duplicates and here are my improvement suggestions:

Specular isotropic layer:

Specular anisotropic layer: implement

Iridescence: find out model