Blender Git Loki

Git Commits -> Revision ee44dd1

Revision ee44dd1 by Clément Foucault (master)
November 19, 2018, 14:48 (GMT)
Studio Lights: Big Cleanups

* Less Lengthy enum/macro names.
* Optimize computation of Spherical Harmonics.
* Reduce radiance cubemap size a bit. Higher resolution is not necessary.
* Remove STUDIOLIGHT_LIGHT_DIRECTION_CALCULATED (was not used).
* Do windowing on each component separately instead of using luminance.
* Use ITER_PIXELS to iterate on each pixels, using pixel center coords.
* Remove gpu_matcap_3components as it is only needed when creating the gputex.
* Fix a lot of confusion in axis denomination/swizzle.

These changes should not affect functionallity.

Commit Details:

Full Hash: ee44dd1b2bcff6bbd99084a012a40fb4a7100b2c
Parent Commit: 8d51e3c
Lines Changed: +489, -591

11 Modified Paths:

/source/blender/blenkernel/BKE_studiolight.h (+18, -26) (Diff)
/source/blender/blenkernel/intern/studiolight.c (+428, -502) (Diff)
/source/blender/draw/engines/eevee/eevee_lookdev.c (+5, -4) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_data_lib.glsl (+1, -1) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_world_light_lib.glsl (+24, -31) (Diff)
/source/blender/draw/engines/workbench/workbench_deferred.c (+2, -2) (Diff)
/source/blender/draw/engines/workbench/workbench_forward.c (+4, -4) (Diff)
/source/blender/draw/engines/workbench/workbench_materials.c (+2, -13) (Diff)
/source/blender/draw/engines/workbench/workbench_private.h (+1, -1) (Diff)
/source/blender/draw/engines/workbench/workbench_studiolight.c (+2, -5) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+2, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021