Blender Git Loki

Git Commits -> Revision 03e432b

Revision 03e432b by Clément Foucault (master)
January 18, 2018, 20:52 (GMT)
Eevee: Implement Sun area lighting and few fixes/opti.

Sun is treated as a unit distant disk like in cycles.

Opti: Since computing the diffuse contribution via LTC is the same as not using the Linear Transformation, we can bypass most of the LTC code.
This replaces the sphere analytical diffuse computation as it gives a more pleasing result very close to cycles' AND cheaper.

Lights power have been retweaked to be coherent with cycles (except sun lamp with large radius where cycles has a non-uniform light distribution).

Commit Details:

Full Hash: 03e432bcdbd61ccea2d74065203af199b46b2e83
Parent Commit: 0cec092
Lines Changed: +72, -76

4 Modified Paths:

/source/blender/draw/engines/eevee/eevee_lights.c (+3, -2) (Diff)
/source/blender/draw/engines/eevee/shaders/bsdf_direct_lib.glsl (+34, -40) (Diff)
/source/blender/draw/engines/eevee/shaders/lamps_lib.glsl (+2, -4) (Diff)
/source/blender/draw/engines/eevee/shaders/ltc_lib.glsl (+33, -30) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021