Blender Git Loki

Git Commits -> Revision 9c2f459

February 10, 2021, 04:09 (GMT)
EEVEE: Improve / fix GGX LUTs

This modifies the principled BSDF and the Glass BSDF which now
have better fit to multiscatter GGX.

Code to generate the LUT have been updated and can run at runtime.

The refraction LUT has been changed to have the critical angle always
centered around one pixel so that interpolation can be mitigated.

Offline LUT data will be updated in another commit.

Commit Details:

Full Hash: 9c2f45981691ee2a2c2774e7f51fa32582a1eaec
Parent Commit: b1840d1
Lines Changed: +256, -242

12 Modified Paths:

/source/blender/draw/CMakeLists.txt (+1, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_lut_gen.c (+63, -120) (Diff)
/source/blender/draw/engines/eevee/eevee_materials.c (+17, -4) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+4, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_shaders.c (+2, -5) (Diff)
/source/blender/draw/engines/eevee/shaders/bsdf_lut_frag.glsl (+42, -32) (Diff)
/source/blender/draw/engines/eevee/shaders/bsdf_sampling_lib.glsl (+3, -1) (Diff)
/source/blender/draw/engines/eevee/shaders/btdf_lut_frag.glsl (+55, -36) (Diff)
/source/blender/draw/engines/eevee/shaders/closure_eval_glossy_lib.glsl (+1, -1) (Diff)
/source/blender/draw/engines/eevee/shaders/common_utiltex_lib.glsl (+47, -33) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_glass.glsl (+14, -6) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_principled.glsl (+7, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021